Avoid a race condition in test_rebind.py

If tor terminates due to SIGNAL HALT before test_rebind.py calls
tor_process.terminate(), an OSError 3 (no such process) is thrown.

Fixes part of bug 27968 on 0.3.5.1-alpha.
This commit is contained in:
teor
2018-10-06 16:05:04 -05:00
committed by Nick Mathewson
parent 43211c3a0c
commit 8f43b8fb47
2 changed files with 14 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (testing):
- Avoid hangs and race conditions in test_rebind.py.
Fixes bug 27968; bugfix on 0.3.5.1-alpha.