Skip to content

Commit

Permalink
rust tests: Wait between chain tip polling even when successful
Browse files Browse the repository at this point in the history
Without a delay, this occasionally fails to catch up after the 120 attempts.
  • Loading branch information
shesek committed Oct 19, 2020
1 parent 167ea95 commit 06f4459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subprojects/gdk_rust/tests/test_session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ pub fn setup(
}
Err(e) => {
warn!("{:?}", e);
thread::sleep(Duration::from_millis(500));
}
}
thread::sleep(Duration::from_millis(500));
};
let electrs = RawClient::new(&electrs_url).unwrap();
info!("done creating electrs client");
Expand Down

0 comments on commit 06f4459

Please sign in to comment.