Skip to content

Commit e056208

Browse files
committed
running require_contract_deployment sequentially
1 parent 5d005b0 commit e056208

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/src/e2e_vm_tests/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -917,12 +917,12 @@ pub async fn run_in_parallel(filter_config: &FilterConfig, run_config: &RunConfi
917917
.push(test);
918918
});
919919
});
920-
let tests_sharing_contracts: HashSet<_> = contracts_deployed_in_tests
921-
.values()
922-
.filter(|tests| tests.len() > 1)
923-
.flat_map(|tests| tests.iter())
924-
.map(|t| t.test_toml_path.clone())
925-
.collect();
920+
// let tests_sharing_contracts: HashSet<_> = contracts_deployed_in_tests
921+
// .values()
922+
// .filter(|tests| tests.len() > 1)
923+
// .flat_map(|tests| tests.iter())
924+
// .map(|t| t.test_toml_path.clone())
925+
// .collect();
926926

927927
let failed_tests = std::sync::Mutex::new(Vec::<String>::new());
928928
let start_time = Instant::now();
@@ -933,7 +933,7 @@ pub async fn run_in_parallel(filter_config: &FilterConfig, run_config: &RunConfi
933933
// than filtering inside the parallel iterator.
934934
let tests_to_run_sequentially = tests_in_run
935935
.tests_to_run
936-
.retain_and_get_removed(|test| !tests_sharing_contracts.contains(&test.test_toml_path));
936+
.retain_and_get_removed(|test| !matches!(test.category, TestCategory::RunsWithContract));
937937

938938
// Run tests that can be safely run in parallel.
939939
tests_in_run.tests_to_run.par_iter().for_each(|test| {

0 commit comments

Comments
 (0)