From a54fb69dce9ac0c4fe9824c6eb02f1db6ee557df Mon Sep 17 00:00:00 2001 From: abayer Date: Thu, 27 Aug 2009 16:43:21 +0000 Subject: [PATCH] Rolling back changes - they made the tests pass on my system but now they fail erratically in the official build. Someone smarter than me should look into this. =) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21117 71c3de6d-444a-0410-be80-ed276b4c234a --- test/src/test/java/hudson/slaves/NodeProvisionerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/src/test/java/hudson/slaves/NodeProvisionerTest.java b/test/src/test/java/hudson/slaves/NodeProvisionerTest.java index 552bc1f680..0369d84735 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; -- GitLab