File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
core/src/test/java/org/neo4j/gds/core/utils/paged Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 2222import org .junit .jupiter .params .ParameterizedTest ;
2323import org .junit .jupiter .params .provider .Arguments ;
2424import org .junit .jupiter .params .provider .MethodSource ;
25- import org .neo4j .gds .core .concurrency .RunWithConcurrency ;
25+ import org .neo4j .gds .core .concurrency .ParallelUtil ;
26+ import org .neo4j .gds .core .concurrency .Pools ;
2627import org .neo4j .gds .core .utils .partition .PartitionUtils ;
2728
2829import java .util .HashSet ;
@@ -141,12 +142,7 @@ void testSetParallel(HugeAtomicGrowingBitSet bitSet) {
141142 }
142143 }, Optional .empty ());
143144
144- RunWithConcurrency
145- .builder ()
146- .tasks (tasks )
147- .concurrency (concurrency )
148- .build ()
149- .run ();
145+ ParallelUtil .run (tasks , Pools .DEFAULT );
150146
151147 assertThat (bitSet .cardinality ()).isEqualTo (nodeCount );
152148 }
You can’t perform that action at this time.
0 commit comments