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:
@@ -261,6 +261,7 @@ async fn two_users_on_one_server() {
|
|||||||
assert_eq!(titles(&b), vec!["B mail".to_string()]);
|
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).
|
// 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();
|
let laptop = VaultCore::new_in_memory();
|
||||||
connect(&laptop, &url, "b laptop");
|
connect(&laptop, &url, "b laptop");
|
||||||
let r = laptop.login(pw_b.into(), sk_b, None, Some("[email protected]".into())).await.unwrap();
|
let r = laptop.login(pw_b.into(), sk_b, None, Some("[email protected]".into())).await.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user