diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-03-20 08:50:30 -0400 |
---|---|---|
committer | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2019-03-26 08:46:29 -0400 |
commit | cf44a88076f15fb94587a7c74e186f09974aa73d (patch) | |
tree | ab0b907a02f624495b26ac6135de40e56b6aa6d3 | |
parent | 6b5def2ef0f4c798c67a04f390e81aa9f3bb9415 (diff) | |
download | mongo-cf44a88076f15fb94587a7c74e186f09974aa73d.tar.gz |
SERVER-40233 Increase transactionLifetimeLimitSeconds from 3 to 24 hours
(cherry picked from commit eb5136ad33e9821580843be0ac7b981a16cc30c5)
-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"))) |