1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 22:51:08 +00:00

different timeout

This commit is contained in:
Felix Ableitner 2024-02-09 16:07:51 +01:00
parent f97415d839
commit d3a310f89d

View file

@ -37,7 +37,7 @@ impl TestData {
let current_run = COUNTER.fetch_add(1, Ordering::Relaxed);
// Give each test a moment to start its postgres databases
sleep(Duration::from_millis(current_run as u64 * 1000));
sleep(Duration::from_millis(current_run as u64 * 2000));
let first_port = 8000 + (current_run * 3);
let port_alpha = first_port;
@ -122,7 +122,7 @@ impl IbisInstance {
start(config).await.unwrap();
});
// wait a moment for the backend to start
tokio::time::sleep(Duration::from_millis(5000)).await;
tokio::time::sleep(Duration::from_millis(2000)).await;
let form = RegisterUserData {
username: username.to_string(),
password: "hunter2".to_string(),