mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 22:31:10 +00:00
different timeout
This commit is contained in:
parent
f97415d839
commit
d3a310f89d
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ impl TestData {
|
||||||
let current_run = COUNTER.fetch_add(1, Ordering::Relaxed);
|
let current_run = COUNTER.fetch_add(1, Ordering::Relaxed);
|
||||||
|
|
||||||
// Give each test a moment to start its postgres databases
|
// 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 first_port = 8000 + (current_run * 3);
|
||||||
let port_alpha = first_port;
|
let port_alpha = first_port;
|
||||||
|
@ -122,7 +122,7 @@ impl IbisInstance {
|
||||||
start(config).await.unwrap();
|
start(config).await.unwrap();
|
||||||
});
|
});
|
||||||
// wait a moment for the backend to start
|
// 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 {
|
let form = RegisterUserData {
|
||||||
username: username.to_string(),
|
username: username.to_string(),
|
||||||
password: "hunter2".to_string(),
|
password: "hunter2".to_string(),
|
||||||
|
|
Loading…
Reference in a new issue