Skip to content

Commit

Permalink
more tries
Browse files Browse the repository at this point in the history
Co-authored-by: ii-cruz <[email protected]>
  • Loading branch information
paberr and ii-cruz committed Aug 1, 2023
1 parent 796fb60 commit 8f2edb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion network-libp2p/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ impl Network {
);
}
} else {
trace!(
error!(
%request_id,
%peer_id,
%type_id,
Expand Down
7 changes: 5 additions & 2 deletions validator/tests/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,11 @@ async fn four_validators_can_create_micro_blocks() {

let events = blockchain.read().notifier_as_stream();
time::timeout(
Duration::from_secs(60),
events.take(30).for_each(|_| future::ready(())),
Duration::from_secs(120),
events.take(30).for_each(|e| {
log::error!(?e, "EVENT");
future::ready(())
}),
)
.await
.unwrap();
Expand Down

0 comments on commit 8f2edb4

Please sign in to comment.