mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Try to fix coordinator CI by sleeping longer when in CI
This commit is contained in:
@@ -52,6 +52,11 @@ async fn key_gen_test() {
|
|||||||
// TODO: Replace this with a Coordinator RPC
|
// TODO: Replace this with a Coordinator RPC
|
||||||
tokio::time::sleep(Duration::from_secs(150)).await;
|
tokio::time::sleep(Duration::from_secs(150)).await;
|
||||||
|
|
||||||
|
// Sleep even longer if in the CI due to it being slower than commodity hardware
|
||||||
|
if std::env::var("GITHUB_CI") == Ok("true".to_string()) {
|
||||||
|
tokio::time::sleep(Duration::from_secs(120)).await;
|
||||||
|
}
|
||||||
|
|
||||||
// Connect to the Message Queues as the processor
|
// Connect to the Message Queues as the processor
|
||||||
let mut new_processors: Vec<Processor> = vec![];
|
let mut new_processors: Vec<Processor> = vec![];
|
||||||
for (handles, key) in processors {
|
for (handles, key) in processors {
|
||||||
|
|||||||
Reference in New Issue
Block a user