]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.6] bpo-31234: test_httpservers joins the server thread (GH-3188) (#3536)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Sep 2017 10:27:54 +0000 (03:27 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 13 Sep 2017 10:27:54 +0000 (03:27 -0700)
(cherry picked from commit 830d7d2936434ace113822294acce82f62cde41b)

Lib/test/test_httpservers.py

index 4e931446b9ef845b31c281d1c8d2993a58e40988..22b3bf5235c4173d44f8d98afeac856792e0f798 100644 (file)
@@ -52,6 +52,7 @@ class TestServerThread(threading.Thread):
 
     def stop(self):
         self.server.shutdown()
+        self.join()
 
 
 class BaseTestCase(unittest.TestCase):