Revert "[SPARK-28582][PYSPARK] Fix flaky test DaemonTests.do_termination_test which fail on Python 3.7"

This reverts commit fbeee0c5bc.
This commit is contained in:
Dongjoon Hyun 2019-08-02 10:14:20 -07:00
parent 7ffc00ccc3
commit 8ae032d78d

View file

@ -47,12 +47,9 @@ class DaemonTests(unittest.TestCase):
# daemon should accept connections
self.assertTrue(self.connect(port))
# wait worker process spawned from daemon exit.
time.sleep(1)
# request shutdown
terminator(daemon)
daemon.wait(5)
time.sleep(1)
# daemon should no longer accept connections
try: