[Buildbot-commits] buildbot/buildbot/test test_slavecommand.py,1.9,1.10

Brian Warner warner at users.sourceforge.net
Sat Apr 23 10:38:33 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv953/buildbot/test

Modified Files:
	test_slavecommand.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-77
Creator:  Brian Warner <warner at monolith.lothar.com>

increase timeouts on test_slavecommand tests

	* buildbot/test/test_slavecommand.py (Shell): increase timeouts


Index: test_slavecommand.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_slavecommand.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- test_slavecommand.py	21 Apr 2005 19:53:32 -0000	1.9
+++ test_slavecommand.py	23 Apr 2005 10:38:31 -0000	1.10
@@ -132,7 +132,7 @@
         
     def testShell1(self):
         cmd = sys.executable + " emit.py 0"
-        args = {'command': cmd, 'workdir': '.', 'timeout': 5}
+        args = {'command': cmd, 'workdir': '.', 'timeout': 60}
         failed = self.doTest(SlaveShellCommand, args)
         self.failIf(failed)
         self.checkOutput([('stdout', "this is stdout\n"),
@@ -141,7 +141,7 @@
 
     def testShell2(self):
         cmd = sys.executable + " emit.py 1"
-        args = {'command': cmd, 'workdir': '.', 'timeout': 5}
+        args = {'command': cmd, 'workdir': '.', 'timeout': 60}
         failed = self.doTest(SlaveShellCommand, args)
         self.failIf(failed)
         self.checkOutput([('stdout', "this is stdout\n"),
@@ -151,7 +151,7 @@
     def testShell3(self):
         cmd = sys.executable + " emit.py 0"
         args = {'command': cmd, 'workdir': '.',
-                'env': {'EMIT_TEST': "envtest"}, 'timeout': 5}
+                'env': {'EMIT_TEST': "envtest"}, 'timeout': 60}
         failed = self.doTest(SlaveShellCommand, args)
         self.failIf(failed)
         self.checkOutput([('stdout', "this is stdout\n"),
@@ -162,7 +162,7 @@
 
     def testShell4(self):
         cmd = sys.executable + " emit.py 0"
-        args = {'command': cmd, 'workdir': "subdir", 'timeout': 5}
+        args = {'command': cmd, 'workdir': "subdir", 'timeout': 60}
         failed = self.doTest(SlaveShellCommand, args)
         self.failIf(failed)
         self.checkOutput([('stdout', "this is stdout in subdir\n"),
@@ -171,7 +171,7 @@
 
     def testShellZ(self):
         args = {'command': "/bin/EndWorldHungerAndMakePigsFly",
-                'workdir': '.', 'timeout': 5}
+                'workdir': '.', 'timeout': 10}
         failed = self.doTest(SlaveShellCommand, args)
         self.failIf(failed)
         self.failUnless(self.getrc() != 0)





More information about the Commits mailing list