diff options
| author | Tommaso Tocci <tommaso.tocci@mongodb.com> | 2023-01-18 11:55:20 +0000 |
|---|---|---|
| committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-01-18 12:30:07 +0000 |
| commit | e3073c252cfce36fb0545a6800443ac3c58dd9f6 (patch) | |
| tree | 026785f4dfad5b6d57dcdf29cb7070bb4da9d90f /buildscripts/resmokelib/testing | |
| parent | c82eaeff371a536180ab1136ae571c706ad6ed68 (diff) | |
| download | mongo-e3073c252cfce36fb0545a6800443ac3c58dd9f6.tar.gz | |
SERVER-49705 'permitted' file may have been deleted by 'after_test'
Diffstat (limited to 'buildscripts/resmokelib/testing')
| -rw-r--r-- | buildscripts/resmokelib/testing/hooks/lifecycle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/hooks/lifecycle.py b/buildscripts/resmokelib/testing/hooks/lifecycle.py index 569847c7ccb..f4ba6ff9077 100644 --- a/buildscripts/resmokelib/testing/hooks/lifecycle.py +++ b/buildscripts/resmokelib/testing/hooks/lifecycle.py @@ -218,4 +218,4 @@ class FileBasedThreadLifecycle(object): # We remove the "permitted" file to revoke permission for the hook thread to continue # performing actions. - os.remove(self.__action_files.permitted) + fs.remove_if_exists(self.__action_files.permitted) |
