Skip to content

Commit

Permalink
make compression tests properly run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMatrix committed Nov 22, 2019
1 parent dd61dd2 commit 9c30974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void forAllRegisteredAlgs(@NonNull BiConsumer<String, CompressionH
} else {
stream = stream.sorted(Comparator.comparing(Map.Entry::getKey, Comparator.naturalOrder()));
}
stream.forEachOrdered(e -> consumer.accept(e.getKey(), e.getValue()));
stream.forEach(e -> consumer.accept(e.getKey(), e.getValue()));
}

public static <ParamType> Builder<ParamType> builder(@NonNull String name) {
Expand Down
4 changes: 3 additions & 1 deletion encoding/src/test/java/encoding/CompressionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
*
*/

package encoding;import net.daporkchop.lib.common.test.TestRandomData;
package encoding;

import net.daporkchop.lib.common.test.TestRandomData;
import net.daporkchop.lib.encoding.compression.Compression;
import net.daporkchop.lib.encoding.compression.CompressionHelper;
import org.junit.Test;
Expand Down

0 comments on commit 9c30974

Please sign in to comment.