fix flaky mac os x plasma store component_failure_test (#673)

Fix flaky mac os x plasma store component_failure_test.
This commit is contained in:
Philipp Moritz
2017-06-15 00:31:50 -07:00
committed by Robert Nishihara
parent c343df832e
commit 8798f4e690
+5
View File
@@ -163,6 +163,11 @@ class ComponentFailureTest(unittest.TestCase):
if check_component_alive:
self.assertTrue(component.poll() is None)
else:
print("waiting for " + component_type + " with PID " +
str(component.pid) + "to terminate")
component.wait()
print("done waiting for " + component_type + " with PID " +
str(component.pid) + "to terminate")
self.assertTrue(not component.poll() is None)
def testLocalSchedulerFailed(self):