From d8433e126c00f317c42f52a11ee8ec8420670536 Mon Sep 17 00:00:00 2001 From: 0x009922 <43530070+0x009922@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:08:09 +0900 Subject: [PATCH] test: include genesis validation test back Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com> --- crates/iroha/tests/integration/permissions.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/iroha/tests/integration/permissions.rs b/crates/iroha/tests/integration/permissions.rs index 85b3b0568db..97ac40d7111 100644 --- a/crates/iroha/tests/integration/permissions.rs +++ b/crates/iroha/tests/integration/permissions.rs @@ -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. @@ -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, })