Skip to content

Commit

Permalink
wait for 10 seconds for a message in client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Sep 19, 2024
1 parent d70a9af commit 9d0ddf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iris-mpc/src/bin/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ async fn main() -> eyre::Result<()> {
// Receive responses
let msg = results_sqs_client
.receive_message()
.wait_time_seconds(10)
.max_number_of_messages(1)
.queue_url(response_queue_url.clone())
.send()
Expand Down Expand Up @@ -236,6 +237,7 @@ async fn main() -> eyre::Result<()> {
for _ in 0..n_deletion_messages * 2 {
let msg = results_sqs_client
.receive_message()
.wait_time_seconds(10)
.max_number_of_messages(1)
.queue_url(response_queue_url.clone())
.send()
Expand Down

0 comments on commit 9d0ddf0

Please sign in to comment.