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 Aug 18, 2022
1 parent 68a5e05 commit 5c9d612
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 5c9d612

Please sign in to comment.