From 064af81dc9ad6da8640d273851b51a42bea089ac Mon Sep 17 00:00:00 2001 From: Robin Salen Date: Wed, 24 Jan 2024 15:10:01 -0500 Subject: [PATCH] Ignore bad variant of InitCollision --- eth_test_parser/src/fs_scaffolding.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eth_test_parser/src/fs_scaffolding.rs b/eth_test_parser/src/fs_scaffolding.rs index 2b16f1c..43cc08c 100644 --- a/eth_test_parser/src/fs_scaffolding.rs +++ b/eth_test_parser/src/fs_scaffolding.rs @@ -130,7 +130,13 @@ fn get_deserialized_test_body(entry: &DirEntry) -> Result> { let buf = BufReader::new(File::open(entry.path())?); let test_file: TestFile = serde_json::from_reader(buf)?; - let tests: Vec = test_file.0.into_values().collect(); + let tests: Vec = test_file + .0 + .into_values() + .into_iter() + // This test has an impossible configuration, ans is hence not provable. + .filter(|t| !t.name.contains("InitCollision_d2g0v0_Shanghai")) + .collect(); if tests.is_empty() { Err(anyhow!("No valid tests found")) } else {