diff --git a/test/src/test/java/hudson/slaves/NodeProvisionerTest.java b/test/src/test/java/hudson/slaves/NodeProvisionerTest.java index 552bc1f680d5ce1f3ec0f67095225a011ed16fca..0369d84735af61cb5ce2f1a71d042c7b64c6ec63 100644 --- a/test/src/test/java/hudson/slaves/NodeProvisionerTest.java +++ b/test/src/test/java/hudson/slaves/NodeProvisionerTest.java @@ -95,7 +95,7 @@ public class NodeProvisionerTest extends HudsonTestCase { public void testAutoProvision() throws Exception { BulkChange bc = new BulkChange(hudson); try { - DummyCloudImpl cloud = initHudson(100); + DummyCloudImpl cloud = initHudson(10); FreeStyleProject p = createJob(new SleepBuilder(10)); @@ -116,7 +116,7 @@ public class NodeProvisionerTest extends HudsonTestCase { public void testLoadSpike() throws Exception { BulkChange bc = new BulkChange(hudson); try { - DummyCloudImpl cloud = initHudson(100); + DummyCloudImpl cloud = initHudson(0); verifySuccessfulCompletion(buildAll(create5SlowJobs(new Latch(5)))); @@ -134,7 +134,7 @@ public class NodeProvisionerTest extends HudsonTestCase { public void testBaselineSlaveUsage() throws Exception { BulkChange bc = new BulkChange(hudson); try { - DummyCloudImpl cloud = initHudson(100); + DummyCloudImpl cloud = initHudson(0); // add slaves statically upfront createSlave().toComputer().connect(false).get(); createSlave().toComputer().connect(false).get(); @@ -154,7 +154,7 @@ public class NodeProvisionerTest extends HudsonTestCase { public void testLabels() throws Exception { BulkChange bc = new BulkChange(hudson); try { - DummyCloudImpl cloud = initHudson(100); + DummyCloudImpl cloud = initHudson(0); Label blue = hudson.getLabel("blue"); Label red = hudson.getLabel("red"); cloud.label = red;