Skip to content

Commit

Permalink
Flaky Unit Test test_rpc_subscriptions (solana-labs#27214)
Browse files Browse the repository at this point in the history
Increase unit test timeout from 5 seconds to 10 seconds
  • Loading branch information
bw-solana authored and haoran committed Aug 21, 2022
1 parent 62e8765 commit ac6ab90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc-test/tests/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ fn test_rpc_subscriptions() {
}
}

let deadline = Instant::now() + Duration::from_secs(5);
let deadline = Instant::now() + Duration::from_secs(10);
let mut account_notifications = transactions.len();
while account_notifications > 0 {
let timeout = deadline.saturating_duration_since(Instant::now());
Expand Down

0 comments on commit ac6ab90

Please sign in to comment.