0
0
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:
Robert Guo 2017-02-23 17:43:28 -05:00
parent 3823a20f01
commit 6ec5d44bc3

View File

@ -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.