summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-02-15 20:53:16 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-16 21:17:54 +0000
commit97e44a7d4d12a56822c40f2543b269b815796f93 (patch)
tree43dc70b8ba7c8b8799e09d816ee85290fb0dd694 /buildscripts
parentf5aaecb0315fa63f9f0447974dbd4fedc24c81fa (diff)
downloadmongo-97e44a7d4d12a56822c40f2543b269b815796f93.tar.gz
SERVER-54484 Use is_alive rather than removed isAlive
(cherry picked from commit d5beb490d241d0ad77e92aafe15fb6f270ea4dfe)
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokelib/utils/archival.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/utils/archival.py b/buildscripts/resmokelib/utils/archival.py
index a31f8fd2d31..8a73e812ecf 100644
--- a/buildscripts/resmokelib/utils/archival.py
+++ b/buildscripts/resmokelib/utils/archival.py
@@ -267,11 +267,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)