Only if fork succeeded perform recv in isolation_testcase.py
Incase test fails on join, recv() is performed starting commit
Due to this though later join hangs
forever, instead call recv() only if has_open is true means fork/blocking
happened to avoid the hang.
@@ -85,7 +85,9 @@ class SQLIsolationExecutor(object):
self.has_open = True
def join(self):
+ r = None
print >>self.out_file, " <... completed>"
+ if self.has_open:
r = self.pipe.recv()
if r is None:
raise Exception("Execution failed")
