Skip to content

Commit 2cc3ec5

Browse files
authored
Join on stopped thread at end of LocalProvider+ssh test (#3505)
This stops that thread being left still running over the end of the test - which is needed in work in PR #3397 to ensure that no threads are left running at the end of a test. If that shutdown hangs, this test will now hang rather than leave the thread behind. Along with PR #3504, this eliminates any threads left behind after parsl/tests/test_providers/test_local_provider.py
1 parent cfb0a20 commit 2cc3ec5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

parsl/tests/test_providers/test_local_provider.py

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def test_ssh_channel():
105105

106106
def _stop_sshd(sshd_thread):
107107
sshd_thread.stop()
108+
sshd_thread.join()
108109

109110

110111
class SSHDThread(threading.Thread):

0 commit comments

Comments
 (0)