Cleanup obsolete tasks, simplify auth lock logic, increase test retry wait
- Remove completed Task 17 and 18 from Docs/tasks.md - Remove ANIWORLD_TESTING bypass in _check_locked (testing env now uses test auth service) - Remove redundant lock expiry cleanup (handled by _get_fail_record) - Fix login.html whitespace formatting - Increase setup retry wait from 6s to 45s for rate-limited CI environments
This commit is contained in:
@@ -108,8 +108,13 @@ Setup Master Password
|
||||
... backup_enabled=False
|
||||
${resp}= POST On Session anon /api/auth/setup json=${payload} expected_status=any
|
||||
IF '${resp.status_code}' == '429'
|
||||
# Rate limited - wait and retry once
|
||||
Sleep 6s
|
||||
# Rate limited - wait and retry
|
||||
Sleep 45s
|
||||
${resp}= POST On Session anon /api/auth/setup json=${payload} expected_status=any
|
||||
END
|
||||
IF '${resp.status_code}' == '429'
|
||||
# Still rate limited - wait longer and retry again
|
||||
Sleep 45s
|
||||
${resp}= POST On Session anon /api/auth/setup json=${payload} expected_status=any
|
||||
END
|
||||
IF '${resp.status_code}' == '400'
|
||||
|
||||
Reference in New Issue
Block a user