diff --git a/minimesos/src/main/groovy/com/containersol/minimesos/config/AgentResourcesConfig.groovy b/minimesos/src/main/groovy/com/containersol/minimesos/config/AgentResourcesConfig.groovy index c76842cc..54170578 100644 --- a/minimesos/src/main/groovy/com/containersol/minimesos/config/AgentResourcesConfig.groovy +++ b/minimesos/src/main/groovy/com/containersol/minimesos/config/AgentResourcesConfig.groovy @@ -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]") diff --git a/minimesos/src/test/groovy/com/containersol/minimesos/config/AgentResourcesConfigTest.groovy b/minimesos/src/test/groovy/com/containersol/minimesos/config/AgentResourcesConfigTest.groovy index 436c8b24..8562efe3 100644 --- a/minimesos/src/test/groovy/com/containersol/minimesos/config/AgentResourcesConfigTest.groovy +++ b/minimesos/src/test/groovy/com/containersol/minimesos/config/AgentResourcesConfigTest.groovy @@ -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)