Skip to content

Commit

Permalink
Remove model_based test from the executor
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorenesduarte committed Feb 12, 2021
1 parent d10aa8e commit bb1062a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions modules/tests/executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,20 +250,3 @@ impl modelator::TestExecutor<Step> for IBCTestExecutor {
outcome_matches && self.check_chain_heights(step.chains)
}
}

const TESTS_DIR: &str = "tests/support/model_based/tests";

#[test]
fn model_based() {
let tests = vec!["ICS02UpdateOKTest", "ICS02HeaderVerificationFailureTest"];

for test in tests {
let test = format!("{}/{}.json", TESTS_DIR, test);
let executor = IBCTestExecutor::new();
// we should be able to just return the `Result` once the following issue
// is fixed: https://github.com/rust-lang/rust/issues/43301
if let Err(e) = modelator::test(&test, executor) {
panic!("{:?}", e);
}
}
}

0 comments on commit bb1062a

Please sign in to comment.