Skip to content

Commit a165c1f

Browse files
committed
Increased tolerance of timing variations in test_combo_log_in_post_login_wait_seconds() due to failing tests.
1 parent 6ae65c4 commit a165c1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/browser/combo/log_in_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,14 @@ def log_in_and_get_time(
8989
with expectation_of_no_exceptions_raised():
9090
browser = reset_to_not_timed_out(browser_default_headless_disable_images)
9191
login_form.post_login_url_contains = SUCCESS_LANDING_PAGE # Reset to default value due to earlier tests.
92-
post_login_wait_seconds_a = 1
93-
post_login_wait_seconds_b = post_login_wait_seconds_a + 1
92+
post_login_wait_seconds_a = 2
93+
post_login_wait_seconds_b = post_login_wait_seconds_a + 2
9494
time_measured_a = log_in_and_get_time(browser, url, login_form, post_login_wait_seconds_a)
9595
time_measured_b = log_in_and_get_time(browser, url, login_form, post_login_wait_seconds_b)
9696
assert time_measured_a < time_measured_b
9797
time_difference_a_b = post_login_wait_seconds_b - post_login_wait_seconds_a
9898
time_difference_measured_a_b = time_measured_b - time_measured_a
99-
assert time_difference_measured_a_b >= _helper.tolerance.deduct(time_difference_a_b, 20)
99+
assert time_difference_measured_a_b >= _helper.tolerance.deduct(time_difference_a_b, 30)
100100

101101

102102
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)