Skip to content

Commit

Permalink
test: include genesis validation test back
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <[email protected]>
  • Loading branch information
0x009922 committed Oct 11, 2024
1 parent 6289d9c commit d8433e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/iroha/tests/integration/permissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ use iroha_test_network::*;
use iroha_test_samples::{gen_account_in, ALICE_ID, BOB_ID};
use tokio::{join, time::timeout};

// FIXME
#[tokio::test]
#[ignore]
async fn genesis_transactions_are_validated_by_executor() {
// `wonderland` domain is owned by Alice,
// so the default executor will deny a genesis account to register asset definition.
Expand All @@ -38,7 +36,7 @@ async fn genesis_transactions_are_validated_by_executor() {
peer.once(|event| matches!(event, PeerLifecycleEvent::ServerStarted)),
// ...but it should shortly exit with an error
peer.once(|event| match event {
// TODO: handle "Invalid genesis" more granular
// TODO: handle "Invalid genesis" in a more granular way
PeerLifecycleEvent::Terminated { status } => !status.success(),
_ => false,
})
Expand Down

0 comments on commit d8433e1

Please sign in to comment.