mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Fix #260
The issue was the 10s timeouts were too fast for the CI runner, since the Scanner only polls every five seconds (already cutting into the window).
This commit is contained in:
@@ -29,7 +29,7 @@ pub async fn test_wallet<C: Coin>(coin: C) {
|
||||
|
||||
let block_id = coin.test_send(C::address(key)).await.id();
|
||||
|
||||
match timeout(Duration::from_secs(10), scanner.events.recv()).await.unwrap().unwrap() {
|
||||
match timeout(Duration::from_secs(20), scanner.events.recv()).await.unwrap().unwrap() {
|
||||
ScannerEvent::Outputs(this_key, block, outputs) => {
|
||||
assert_eq!(this_key, key);
|
||||
assert_eq!(block, block_id);
|
||||
@@ -95,7 +95,7 @@ pub async fn test_wallet<C: Coin>(coin: C) {
|
||||
coin.mine_block().await;
|
||||
}
|
||||
|
||||
match timeout(Duration::from_secs(10), scanner.events.recv()).await.unwrap().unwrap() {
|
||||
match timeout(Duration::from_secs(20), scanner.events.recv()).await.unwrap().unwrap() {
|
||||
ScannerEvent::Outputs(this_key, block_id, these_outputs) => {
|
||||
assert_eq!(this_key, key);
|
||||
assert_eq!(block_id, block.id());
|
||||
|
||||
Reference in New Issue
Block a user