Skip to content

Commit 3d6ea0d

Browse files
committed
test: delay sleep duration
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 3625028 commit 3d6ea0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tap-agent/src/agent/sender_allocation.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,8 @@ pub mod tests {
15701570
Some(sender_account),
15711571
)
15721572
.await;
1573+
1574+
tokio::time::sleep(std::time::Duration::from_millis(20)).await;
15731575
// Trigger a RAV request manually and wait for updated fees.
15741576
// this should fail because there's no receipt with valid timestamp
15751577
sender_allocation
@@ -1581,6 +1583,7 @@ pub mod tests {
15811583
// If it is an error then rav request failed
15821584
{
15831585
let mut last_message = last_message_emitted.lock().unwrap();
1586+
println!("{:?}", *last_message);
15841587
match last_message.pop() {
15851588
Some(SenderAccountMessage::UpdateReceiptFees(
15861589
_,

0 commit comments

Comments
 (0)