Skip to content

Commit

Permalink
Flaky Unit Test test_rpc_subscriptions (backport #27214) (#27236)
Browse files Browse the repository at this point in the history
Flaky Unit Test test_rpc_subscriptions (#27214)

Increase unit test timeout from 5 seconds to 10 seconds

(cherry picked from commit 5c9d612)

Co-authored-by: Brennan Watt <[email protected]>
  • Loading branch information
mergify[bot] and bw-solana authored Aug 18, 2022
1 parent 8a30642 commit 480fd66
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 480fd66

Please sign in to comment.