Revision: 3621
Author: janne.t.harkonen
Date: Fri May 28 03:15:31 2010
Log: Need to increase timeout for jython 2.5, whitespace
http://code.google.com/p/robotframework/source/detail?r=3621

Modified:
 /trunk/tools/remoteserver/test/run.py

=======================================
--- /trunk/tools/remoteserver/test/run.py       Thu Apr 16 02:34:09 2009
+++ /trunk/tools/remoteserver/test/run.py       Fri May 28 03:15:31 2010
@@ -32,7 +32,7 @@
     def __init__(self, language=None):
         if language:
             self._start_library(language)
-            if not self.test(attempts=7):
+            if not self.test(attempts=15):
                 raise RuntimeError("Starting %s library failed" % language)

     def _start_library(self, lang):
@@ -43,7 +43,7 @@
         stderr = os.path.join(OUTPUTDIR, 'stderr.txt')
         cmd = '%s%s%s 1> %s 2> %s' % (lang, opts, lib, stdout, stderr)
         print 'Starting %s remote library with command:\n%s' % (lang, cmd)
-        stdin, stdouterr = os.popen4(cmd)
+        stdin, stdouterr = os.popen4(cmd)
         stdin.close()
         stdouterr.close()

@@ -100,7 +100,7 @@
         args.append(os.path.join(REMOTEDIR, 'test', 'atest'))
     else:
         args.extend(sys.argv[2:])
-    print 'Running tests with command:\n%s' % ' '.join(args)
+    print 'Running tests with command:\n%s' % ' '.join(args)
     subprocess.call(args)
     lib.stop()
     print

Reply via email to