Skip to content

Commit

Permalink
better error when failed to register in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Aug 27, 2024
1 parent ff2893d commit 61e2216
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions integration_tests/tests/steps/validator_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,13 @@ pub async fn send_vn_registration_with_claim_wallet(world: &mut TariWorld, vn_na
message: "Register".to_string(),
})
.await
.unwrap();
assert!(response.into_inner().transaction_id != 0);
.unwrap()
.into_inner();
assert!(
response.is_success,
"Failed to register validator node {}",
response.failure_message
);
world.mark_point_in_logs("after register_validator_node");
}

Expand Down

0 comments on commit 61e2216

Please sign in to comment.