File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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| {
You can’t perform that action at this time.
0 commit comments