Skip to content

Commit

Permalink
fixup! feat(offchain): implement the broker-listener for the authorit…
Browse files Browse the repository at this point in the history
…y-claimer
  • Loading branch information
marcelstanley committed Sep 14, 2023
1 parent f0f7603 commit ca33b8b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions offchain/rollups-events/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,3 @@ async fn test_it_does_not_block_when_consuming_empty_stream() {
.expect("failed to peek");
assert!(matches!(event, None));
}

#[test_log::test(tokio::test)]
async fn test_it_times_out_when_no_event_is_produced() {
let docker = Cli::default();
let state = TestState::setup(&docker).await;
let mut broker = state.create_broker().await;
let err = broker
.consume_blocking(&MockStream {}, "0")
.await
.expect_err("consume event worked but it should have failed");
assert!(matches!(err, BrokerError::ConsumeTimeout));
}

0 comments on commit ca33b8b

Please sign in to comment.