Skip to content

Commit

Permalink
ignore cycle usage test
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Jan 10, 2025
1 parent b28bdb6 commit e54ec73
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions contracts/icp/context-proxy/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@ fn test_create_proposal_empty_actions() {
}

#[test]
#[ignore = "we don't have a centralized faucet for context config, until then.. we don't have to be too concerned about cycle usage"]
fn test_create_proposal_exceeds_limit() {
let mut rng = rand::thread_rng();

Expand Down Expand Up @@ -943,10 +944,8 @@ fn test_create_proposal_exceeds_limit() {
Ok(WasmResult::Reply(bytes)) => {
let result: Result<Option<ICProposalWithApprovals>, String> =
candid::decode_one(&bytes).expect("Failed to decode response");
assert!(
result.is_err(),
"Should not be able to exceed proposal limit"
);

result.expect_err("Should not be able to exceed proposal limit");
}
_ => panic!("Unexpected response type"),
}
Expand Down

0 comments on commit e54ec73

Please sign in to comment.