Browse Source

Increase the timeout in debug mode to fix CI/bors

Contract setup test keeps failing when bors runs it.

Note: contract setup got recently refactored into a dedicated actor, this might
     have increased the time it takes to finish the process.
debug-collab-settlement
Mariusz Klochowicz 3 years ago
parent
commit
ea961019c8
No known key found for this signature in database GPG Key ID: 470C865699C8D4D
  1. 2
      daemon/tests/harness/flow.rs

2
daemon/tests/harness/flow.rs

@ -6,7 +6,7 @@ use std::time::Duration;
use tokio::sync::watch;
/// Waiting time for the time on the watch channel before returning error
const NEXT_WAIT_TIME: Duration = Duration::from_secs(if cfg!(debug_assertions) { 120 } else { 30 });
const NEXT_WAIT_TIME: Duration = Duration::from_secs(if cfg!(debug_assertions) { 180 } else { 30 });
/// Returns the first `Cfd` from both channels
///

Loading…
Cancel
Save