Skip to content

Commit

Permalink
chore: update comment about kura test
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
  • Loading branch information
0x009922 committed Oct 18, 2024
1 parent 76864e4 commit 14b7f4f
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions crates/iroha/tests/integration/events/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,31 +75,7 @@ async fn test_with_instruction_and_status(
}

#[test]
#[ignore = "unclear how to test it while treating Iroha as a block box"]
#[ignore = "TODO: implement with the help of Kura Inspector, "]
fn applied_block_must_be_available_in_kura() {
// let (_rt, peer, client) = <PeerBuilder>::new().with_port(11_040).start_with_runtime();
// wait_for_genesis_committed(&[client.clone()], 0);
//
// let event_filter = BlockEventFilter::default().for_status(BlockStatus::Applied);
// let mut event_iter = client
// .listen_for_events([event_filter])
// .expect("Failed to subscribe for events");
//
// client
// .submit(Unregister::domain("dummy".parse().unwrap()))
// .expect("Failed to submit transaction");
//
// let event: BlockEvent = event_iter
// .next()
// .expect("Block must be committed")
// .expect("Block must be committed")
// .try_into()
// .expect("Received unexpected event");
//
// peer.irohad
// .as_ref()
// .expect("Must be some")
// .kura()
// .get_block_by_height(event.header().height().try_into().unwrap())
// .expect("Block applied event was received earlier");
unimplemented!();
}

0 comments on commit 14b7f4f

Please sign in to comment.