mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-27158 teardown_flag does not exist except for the final iteration
This commit is contained in:
parent
3823a20f01
commit
6ec5d44bc3
@ -95,7 +95,7 @@ class TestGroupExecutor(object):
|
||||
if interrupted:
|
||||
raise errors.UserInterrupt("Received interrupt from user")
|
||||
|
||||
if teardown_flag.is_set():
|
||||
if teardown_flag and teardown_flag.is_set():
|
||||
return_code = 2
|
||||
|
||||
sb = [] # String builder.
|
||||
|
Loading…
Reference in New Issue
Block a user