Sometimes this assertion fails on Testbot:
1st password change: bbbbbb Other password_policy_expiration.test 178 PasswordExpiration->testExpirationConstraint()
I suspect it is a timing problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | password_policy-fix_intermittent_test_failure-2454501-3.patch | 425 bytes | aohrvetpv |
Comments
Comment #1
aohrvetpv commentedLet's try to reproduce the failure first.
Comment #3
aohrvetpv commentedReproduced. Now let's try to fix.
Hypothesis #1 is test executes so fast on Testbot that some requests after a user is blocked occur on the same second the user was blocked.
Comment #26
aohrvetpv commentedComment #27
aohrvetpv commentedAdded related issue to wrong issue.
Comment #38
aohrvetpv commented#3: 0/17 failures
unmodified: 3/15 failures
So it seems like #3 might fix the intermittent test failures.
Comment #40
aohrvetpv commented