We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf48911 + b92c3e5 commit b2d1d5aCopy full SHA for b2d1d5a
crates/tests-e2e/tests/e2e_reject_offer.rs
@@ -7,6 +7,7 @@ use native::trade::order::api::NewOrder;
7
use native::trade::order::api::OrderType;
8
use native::trade::order::OrderState;
9
use native::trade::position::PositionState;
10
+use std::time::Duration;
11
use tests_e2e::app::submit_channel_opening_order;
12
use tests_e2e::setup::TestSetup;
13
use tests_e2e::wait_until;
@@ -65,6 +66,9 @@ async fn reject_offer() {
65
66
stable: false,
67
};
68
69
+ // give the coordinator some time to process the reject message, before submitting the next
70
+ // order.
71
+ tokio::time::sleep(Duration::from_secs(5)).await;
72
submit_channel_opening_order(order.clone(), 0, 0);
73
74
// Assert that the order was posted
0 commit comments