diff --git a/src/tool/subcommands/api_cmd/stateful_tests.rs b/src/tool/subcommands/api_cmd/stateful_tests.rs index e1af970925e4..5f580f3227f6 100644 --- a/src/tool/subcommands/api_cmd/stateful_tests.rs +++ b/src/tool/subcommands/api_cmd/stateful_tests.rs @@ -145,7 +145,10 @@ pub(super) async fn run_tests( Err(e) => { if let Some(expected_msg) = test.should_fail_with { let err_str = format!("{e:#}"); - if err_str.contains(expected_msg) { + if err_str + .to_lowercase() + .contains(&expected_msg.to_lowercase()) + { println!("ok"); passed += 1; } else { @@ -624,8 +627,7 @@ pub(super) async fn create_tests(tx: TestTransaction) -> Vec { with_methods!( create_eth_new_filter_limit_test(LOTUS_EVENTS_MAXFILTERS + 1) .name("eth_newFilter over limit") - .should_fail_with("maximum number of filters registered") - .ignore("https://github.com/ChainSafe/forest/issues/5915"), + .should_fail_with("maximum number of filters registered"), EthNewFilter, EthUninstallFilter ),