diff options
author | Andrew Morrow <acm@mongodb.com> | 2021-02-15 20:53:16 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-16 18:22:27 +0000 |
commit | d5beb490d241d0ad77e92aafe15fb6f270ea4dfe (patch) | |
tree | 2265236a34928dcd3c1878ca1f37840b7c40bb8d | |
parent | 7648dc6152e8f24ca626b6cd120d9d701c37bf2d (diff) | |
download | mongo-d5beb490d241d0ad77e92aafe15fb6f270ea4dfe.tar.gz |
SERVER-54484 Use is_alive rather than removed isAlive
-rw-r--r-- | buildscripts/resmokelib/utils/archival.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/utils/archival.py b/buildscripts/resmokelib/utils/archival.py index 5a3eb286651..487fc2e50fd 100644 --- a/buildscripts/resmokelib/utils/archival.py +++ b/buildscripts/resmokelib/utils/archival.py @@ -287,11 +287,11 @@ class Archival(object): # pylint: disable=too-many-instance-attributes def check_thread(self, thread, expected_alive): """Check if the thread is still active.""" - if thread.isAlive() and not expected_alive: + if thread.is_alive() and not expected_alive: self.logger.warning( "The %s thread did not complete, some files might not have been uploaded" " to S3 or archived to %s.", thread.name, self.archival_json_file) - elif not thread.isAlive() and expected_alive: + elif not thread.is_alive() and expected_alive: self.logger.warning( "The %s thread is no longer running, some files might not have been uploaded" " to S3 or archived to %s.", thread.name, self.archival_json_file) |