live test: wait out the per-IP auth limit before the second user's new device

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-24 07:40:22 +07:00
co-authored by Claude Opus 5.5
parent c84015f67b
commit 92457d4a07
+1
View File
@@ -261,6 +261,7 @@ async fn two_users_on_one_server() {
assert_eq!(titles(&b), vec!["B mail".to_string()]);
// B's new device signs in with email + password + Secret Key and gets only B's vault (after approval).
tokio::time::sleep(std::time::Duration::from_secs(61)).await; // the per-IP limit on the auth endpoints
let laptop = VaultCore::new_in_memory();
connect(&laptop, &url, "b laptop");
let r = laptop.login(pw_b.into(), sk_b, None, Some("[email protected]".into())).await.unwrap();