Skip to content

bpo-31234: Join threads in test_queue#3586

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:test_queue_join
Sep 14, 2017
Merged

bpo-31234: Join threads in test_queue#3586
vstinner merged 1 commit intopython:masterfrom
vstinner:test_queue_join

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 14, 2017

Call thread.join() to prevent the "dangling thread" warning.

https://bugs.python.org/issue31234

Call thread.join() to prevent the "dangling thread" warning.
@vstinner vstinner merged commit 167cbde into python:master Sep 14, 2017
@vstinner vstinner deleted the test_queue_join branch September 14, 2017 21:04
vstinner added a commit that referenced this pull request Sep 15, 2017
* bpo-31234: Join threads in tests (#3572)

Call thread.join() on threads to prevent the "dangling threads"
warning.

(cherry picked from commit 18e95b4)

* bpo-31234: Join threads in test_hashlib (#3573)

* bpo-31234: Join threads in test_hashlib

Use thread.join() to wait until the parallel hash tasks complete
rather than using events. Calling thread.join() prevent "dangling
thread" warnings.

* test_hashlib: minor PEP 8 coding style fixes

(cherry picked from commit 8dcf22f)

* bpo-31234: Join threads in test_threading (#3579)

Call thread.join() to prevent the "dangling thread" warning.

(cherry picked from commit b8c7be2)

* bpo-31234: Join threads in test_queue (#3586)

Call thread.join() to prevent the "dangling thread" warning.

(cherry picked from commit 167cbde)

* bpo-31234: Join timers in test_threading (#3598)

Call the .join() method of threading.Timer timers to prevent the
"threading_cleanup() failed to cleanup 1 threads" warning.

(cherry picked from commit da3e5cf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants