Skip to content

Commit

Permalink
test(tap-agent): remove false positives
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Inacio <[email protected]>
  • Loading branch information
gusinacio committed Jul 8, 2024
1 parent a0efd63 commit 1bdb846
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tap-agent/src/agent/sender_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ pub mod tests {
},
))
.unwrap();
tokio::time::sleep(Duration::from_millis(30)).await;
tokio::time::sleep(Duration::from_millis(50)).await;

let retry_value = triggered_rav_request.load(std::sync::atomic::Ordering::SeqCst);
assert!(retry_value > 1, "It didn't retry more than once");
Expand Down Expand Up @@ -1377,7 +1377,7 @@ pub mod tests {
))
.unwrap();

tokio::time::sleep(Duration::from_millis(10)).await;
tokio::time::sleep(Duration::from_millis(20)).await;
};
}

Expand Down
2 changes: 1 addition & 1 deletion tap-agent/src/agent/sender_accounts_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ mod tests {
))
.unwrap();

tokio::time::sleep(std::time::Duration::from_millis(10)).await;
tokio::time::sleep(std::time::Duration::from_millis(20)).await;
// verify if it gets removed
let actor_ref =
ActorRef::<SenderAccountMessage>::where_is(format!("{}:{}", prefix, SENDER.1));
Expand Down

0 comments on commit 1bdb846

Please sign in to comment.