Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Commit

Permalink
Increased default memory to 1024 MB.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankscholten committed Jan 18, 2017
1 parent 4918921 commit 09f257d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -8,7 +8,7 @@ import java.util.regex.Matcher
class AgentResourcesConfig extends GroovyBlock {

static public final ResourceDefScalar DEFAULT_CPU = new ResourceDefScalar("*", 4)
static public final ResourceDefScalar DEFAULT_MEM = new ResourceDefScalar("*", 512)
static public final ResourceDefScalar DEFAULT_MEM = new ResourceDefScalar("*", 1024)
static public final ResourceDefScalar DEFAULT_DISK = new ResourceDefScalar("*", 2000)
static public final ResourceDefRanges DEFAULT_PORTS = new ResourceDefRanges("*", "[31000-32000]")

Expand Down
Expand Up @@ -11,7 +11,7 @@ public class AgentResourcesConfigTest {

AgentResourcesConfig resources = new AgentResourcesConfig()
String asString = resources.asMesosString()
String expected = "ports(*):[31000-32000]; cpus(*):4; mem(*):512; disk(*):2000"
String expected = "ports(*):[31000-32000]; cpus(*):4; mem(*):1024; disk(*):2000"

assertEquals(expected, asString)

Expand Down

0 comments on commit 09f257d

Please sign in to comment.