diff options
-rw-r--r-- | buildscripts/resmokelib/core/programs.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/buildscripts/resmokelib/core/programs.py b/buildscripts/resmokelib/core/programs.py index 03e5b42f950..3865d33b8b0 100644 --- a/buildscripts/resmokelib/core/programs.py +++ b/buildscripts/resmokelib/core/programs.py @@ -70,10 +70,10 @@ def mongod_program( # pylint: disable=too-many-branches # There's a periodic background thread that checks for and aborts expired transactions. # "transactionLifetimeLimitSeconds" specifies for how long a transaction can run before expiring # and being aborted by the background thread. It defaults to 60 seconds, which is too short to - # be reliable for our tests. Setting it to 3 hours, so that it is longer than the 2 hours we - # allow JS tests to run before timing them out. + # be reliable for our tests. Setting it to 24 hours, so that it is longer than the Evergreen + # execution timeout. if "transactionLifetimeLimitSeconds" not in suite_set_parameters: - suite_set_parameters["transactionLifetimeLimitSeconds"] = 3 * 60 * 60 + suite_set_parameters["transactionLifetimeLimitSeconds"] = 24 * 60 * 60 # The periodic no-op writer writes an oplog entry of type='n' once every 10 seconds. This has # the potential to mask issues such as SERVER-31609 because it allows the operationTime of @@ -232,10 +232,10 @@ def mongo_shell_program( # pylint: disable=too-many-branches,too-many-locals,to # There's a periodic background thread that checks for and aborts expired transactions. # "transactionLifetimeLimitSeconds" specifies for how long a transaction can run before expiring # and being aborted by the background thread. It defaults to 60 seconds, which is too short to - # be reliable for our tests. Setting it to 3 hours, so that it is longer than the 2 hours we - # allow JS tests to run before timing them out. + # be reliable for our tests. Setting it to 24 hours, so that it is longer than the Evergreen + # execution timeout. if "transactionLifetimeLimitSeconds" not in test_data: - test_data["transactionLifetimeLimitSeconds"] = 3 * 60 * 60 + test_data["transactionLifetimeLimitSeconds"] = 24 * 60 * 60 if "eval_prepend" in kwargs: eval_sb.append(str(kwargs.pop("eval_prepend"))) |