Skip to content

Commit

Permalink
fix: print
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Oct 9, 2023
1 parent 31f0d81 commit 6a09d69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iroh/tests/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ async fn sync_full_basic() -> Result<()> {
// before the peer shows up as a neighbor, we run sync again for the NeighborUp event.
if let Ok(events) = collect_some(&mut events2, 1, Duration::from_millis(200)).await {
actual.extend_from_slice(&events);
println!("events {actual:#?}");
assert_each_unordered(
&actual,
vec![
Expand All @@ -276,6 +277,7 @@ async fn sync_full_basic() -> Result<()> {
],
);
} else {
println!("events {actual:#?}");
assert_each_unordered(
&actual,
vec![
Expand All @@ -297,7 +299,6 @@ async fn sync_full_basic() -> Result<()> {
],
);
};
println!("events {actual:#?}");
assert_latest(&doc2, b"k1", b"v1").await;
assert_latest(&doc2, b"k2", b"v2").await;

Expand Down

0 comments on commit 6a09d69

Please sign in to comment.