From b3805a132f8de6d6db80607ba46e7f8b8847cca6 Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Fri, 26 Mar 2021 09:27:31 +0900 Subject: [PATCH] Update NormalizerSerializerTest.java --- .../org/nd4j/linalg/dataset/NormalizerSerializerTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/NormalizerSerializerTest.java b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/NormalizerSerializerTest.java index f98ff27e0..f69c4d5d4 100644 --- a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/NormalizerSerializerTest.java +++ b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/NormalizerSerializerTest.java @@ -21,11 +21,10 @@ package org.nd4j.linalg.dataset; import lombok.Getter; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Tag; -import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.*; import org.junit.jupiter.api.io.TempDir; +import org.junit.jupiter.api.parallel.Execution; +import org.junit.jupiter.api.parallel.ExecutionMode; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -296,6 +295,7 @@ public class NormalizerSerializerTest extends BaseNd4jTestWithBackends { @ParameterizedTest @MethodSource("org.nd4j.linalg.BaseNd4jTestWithBackends#configs") + @Execution(ExecutionMode.SAME_THREAD) public void testCustomNormalizerWithoutRegisteredStrategy(Nd4jBackend backend) throws Exception { assertThrows(RuntimeException.class, () -> { File normalizerFile = Files.createTempFile(tmpFile.toPath(),"pre-process-" + UUID.randomUUID().toString(),"bin").toFile();