Skip to content

Commit

Permalink
Print some more stuff out
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Jul 29, 2024
1 parent e57b065 commit e1e69ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/crates/stellar-ledger/tests/test/emulator_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,11 @@ async fn get_emulator_events_with_retries(
return resp.events;
}
Err(e) => {
println!("this many retries: {retries}");
println!("Retry count: {retries}");
println!("Wait time: {wait_time:?}");
retries += 1;
if retries >= max_retries {
println!("Exeeded max retries");
panic!("Failed to get emulator events: {e}");
}
sleep(wait_time).await;
Expand Down

0 comments on commit e1e69ae

Please sign in to comment.