Assert that only one thread is active in trytond.application
This commit is contained in:
1 parent
50c102a2e5
commit
300bad3f6b
1 file changed
+2
@@ -41,3 +41,5 @@ if db_names:
|
||||
threads.append(thread)
|
||||
for thread in threads:
|
||||
thread.join()
|
||||
|
||||
assert len(threads := threading.enumerate()) == 1, f"len({threads}) != 1"
|
||||
Reference in new issue
Block a user