Rev 5913: Just try to use communicate instead of wait (though the rest of the code needs to interact with stdin/stdout so it's unclear whether this is the real fix). in file:///home/vila/src/bzr/bugs/625551-parallel-stderr/

Vincent Ladeuil v.ladeuil+lp at free.fr
Wed May 25 14:30:41 UTC 2011


At file:///home/vila/src/bzr/bugs/625551-parallel-stderr/

------------------------------------------------------------
revno: 5913
revision-id: v.ladeuil+lp at free.fr-20110525143041-7gfg3gp8vonel6nx
parent: pqm at pqm.ubuntu.com-20110524200712-z0ay7c4lsbg1x7qs
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 625551-parallel-stderr
timestamp: Wed 2011-05-25 16:30:41 +0200
message:
  Just try to use communicate instead of wait (though the rest of the code needs to interact with stdin/stdout so it's unclear whether this is the real fix).
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py	2011-05-24 19:21:18 +0000
+++ b/bzrlib/tests/__init__.py	2011-05-25 14:30:41 +0000
@@ -3392,7 +3392,7 @@
             try:
                 ProtocolTestCase.run(self, result)
             finally:
-                self.process.wait()
+                self.process.communicate()
                 os.unlink(self.name)
             # print "pid %d finished" % finished_process
     test_blocks = partition_tests(suite, concurrency)



More information about the bazaar-commits mailing list