Barry Warsaw pushed to branch master at mailman / Mailman
Commits: beebdf29 by Barry Warsaw at 2017-01-09T09:07:29-05:00 Bump up stale lock expiration date. Hopefully this will help fix intermittent failures on the Gitlab CI runners. 2 minutes appears to be too short since the MySQL tests can take longer than that to get to the lock claim attempt. - - - - - 0403f0bf by Barry Warsaw at 2017-01-09T14:28:57+00:00 Merge branch 'stale-lock' into 'master' Bump up stale lock expiration date. See merge request !233 - - - - - 1 changed file: - src/mailman/commands/tests/test_control.py Changes: ===================================== src/mailman/commands/tests/test_control.py ===================================== --- a/src/mailman/commands/tests/test_control.py +++ b/src/mailman/commands/tests/test_control.py @@ -180,7 +180,7 @@ class TestStart(unittest.TestCase): with open(config.LOCK_FILE, 'w') as fp: fp.write(claim_file) os.link(config.LOCK_FILE, claim_file) - expiration_date = datetime.now() - timedelta(minutes=2) + expiration_date = datetime.now() - timedelta(minutes=60) t = time.mktime(expiration_date.timetuple()) os.utime(claim_file, (t, t)) # Start without --force; no master will be running. View it on GitLab: https://gitlab.com/mailman/mailman/compare/089fb5f5612f5b25fb5c3bea94d671c45ecea9df...0403f0bfc77a94656db28b6dfd1b44bea2e13881
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org