This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ae032d  Revert "[SPARK-28582][PYSPARK] Fix flaky test 
DaemonTests.do_termination_test which fail on Python 3.7"
8ae032d is described below

commit 8ae032d78d63f95c1100bc826ae246e4d4fdd34a
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Fri Aug 2 10:14:20 2019 -0700

    Revert "[SPARK-28582][PYSPARK] Fix flaky test 
DaemonTests.do_termination_test which fail on Python 3.7"
    
    This reverts commit fbeee0c5bcea32346b2279c5b67044f12e5faf7d.
---
 python/pyspark/tests/test_daemon.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/python/pyspark/tests/test_daemon.py 
b/python/pyspark/tests/test_daemon.py
index c987fae..2cdc16c 100644
--- a/python/pyspark/tests/test_daemon.py
+++ b/python/pyspark/tests/test_daemon.py
@@ -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:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to