Skip to content

Commit 2bd18f7

Browse files
committed
Explicitely join threads in test
1 parent 065b56a commit 2bd18f7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/cases/use_threads.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def foo():
1717
t2 = threading.Thread(target=worker, args=(1, instrumentation2.baz))
1818
t1.start()
1919
t2.start()
20+
t1.join()
21+
t2.join()
2022

2123

2224
foo()

0 commit comments

Comments
 (0)