From 2213d445b1f473103e0f50d4e2b9cfd4606c69cd Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Fri, 26 Mar 2021 00:01:16 +0900 Subject: [PATCH] Update surefire time out --- .github/workflows/run-cpu-integration-tests-self-hosted.yml | 2 +- .github/workflows/run-gpu-integration-tests-self-hosted.yml | 2 +- .../java/org/nd4j/autodiff/samediff/SameDiffTrainingTest.java | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-cpu-integration-tests-self-hosted.yml b/.github/workflows/run-cpu-integration-tests-self-hosted.yml index 2c2aa5aa0..47e5cb03a 100644 --- a/.github/workflows/run-cpu-integration-tests-self-hosted.yml +++ b/.github/workflows/run-cpu-integration-tests-self-hosted.yml @@ -23,5 +23,5 @@ jobs: protoc --version export OMP_NUM_THREADS=1 mvn -DexcludedGroups="long-running-tests,large-resources" -DskipTestResourceEnforcement=true -Ptestresources -Pintegration-tests -Pnd4j-tests-cpu clean test - mvn -Ptestresources -Pnd4j-tests-cpu -Dtest.offheap.size=14g -Dtest.heap.size=6g test + mvn -Ptestresources -Pnd4j-tests-cpu -Dtest.offheap.size=14g -Dtest.heap.size=6g -Dsurefire.parallel.forcedTimeout=200 0Dsurefire.parallel.timeout=200 -Dsurefire.timeout=200 -Dsurefire.exitTimeout=200 test diff --git a/.github/workflows/run-gpu-integration-tests-self-hosted.yml b/.github/workflows/run-gpu-integration-tests-self-hosted.yml index 059496ce3..bc53d0845 100644 --- a/.github/workflows/run-gpu-integration-tests-self-hosted.yml +++ b/.github/workflows/run-gpu-integration-tests-self-hosted.yml @@ -35,5 +35,5 @@ jobs: protoc --version export OMP_NUM_THREADS=1 mvn -DexcludedGroups="long-running-tests, large-resources" -DskipTestResourceEnforcement=true -Ptestresources -Pintegration-tests -Pnd4j-tests-cuda clean test --fail-never - mvn -Ptestresources -Pnd4j-tests-cuda -Dtest.offheap.size=14g -Dtest.heap.size=6g test --fail-never + mvn -Ptestresources -Pnd4j-tests-cuda -Dtest.offheap.size=14g -Dtest.heap.size=6g -Dsurefire.parallel.forcedTimeout=200 0Dsurefire.parallel.timeout=200 -Dsurefire.timeout=200 -Dsurefire.exitTimeout=200 test --fail-never diff --git a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/samediff/SameDiffTrainingTest.java b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/samediff/SameDiffTrainingTest.java index 06b371863..c781de8ae 100644 --- a/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/samediff/SameDiffTrainingTest.java +++ b/nd4j/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/autodiff/samediff/SameDiffTrainingTest.java @@ -68,6 +68,8 @@ public class SameDiffTrainingTest extends BaseNd4jTestWithBackends { @ParameterizedTest @MethodSource("org.nd4j.linalg.BaseNd4jTestWithBackends#configs") + @Tag(TagNames.LONG_TEST) + @Tag(TagNames.LARGE_RESOURCES) public void irisTrainingSanityCheck(Nd4jBackend backend) { DataSetIterator iter = new IrisDataSetIterator(150, 150);