Skip to content

Commit

Permalink
improve assert failure message for send_data retry tests and bump
Browse files Browse the repository at this point in the history
tolerance.
  • Loading branch information
ekump committed Sep 6, 2024
1 parent 4f40088 commit 94befa0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion trace-utils/src/send_data/retry_strategy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ mod tests {
use super::*;
use tokio::time::Instant;

const RETRY_STRATEGY_TIME_TOLERANCE_MS: u64 = 01;
// This tolerance is on the higher side to account for github's runners not having consistent
// performance. It shouldn't impact the quality of the tests since the most important aspect
// of the retry logic is we wait a minimum amount of time.
const RETRY_STRATEGY_TIME_TOLERANCE_MS: u64 = 100;

#[cfg_attr(miri, ignore)]
#[tokio::test]
Expand Down

0 comments on commit 94befa0

Please sign in to comment.