[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Check for the facilitator process dying in facilitator-test.
commit f744538cab6eaa7579bd33c12041bd1756f3b3a0
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed Mar 6 22:25:01 2013 -0800
Check for the facilitator process dying in facilitator-test.
---
facilitator/facilitator-test | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/facilitator/facilitator-test b/facilitator/facilitator-test
index 455aa3f..cbd45f8 100755
--- a/facilitator/facilitator-test
+++ b/facilitator/facilitator-test
@@ -32,6 +32,9 @@ class FacilitatorTest(unittest.TestCase):
time.sleep(0.1)
def tearDown(self):
+ ret = self.process.poll()
+ if ret is not None:
+ raise Exception("facilitator subprocess exited unexpectedly with status %d" % ret)
self.process.terminate()
def test_timeout(self):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits