Minor test updates, tweak ram usage for bigger tests

master
agibsonccc 2021-03-23 16:40:40 +09:00
parent ee67c022d0
commit 46ddd135a9
4 changed files with 3 additions and 6 deletions

View File

@ -207,7 +207,6 @@ public class RegressionTest100b3 extends BaseDL4JTest {
@Test
@Disabled("AB 2019/05/23 - Failing on linux-x86_64-cuda-9.2 - see issue #7657")
public void testYoloHouseNumber() throws Exception {
File f = Resources.asFile("regression_testing/100b3/HouseNumberDetection_100b3.bin");

View File

@ -130,9 +130,6 @@
<OMP_NUM_THREADS>1</OMP_NUM_THREADS>
<LD_LIBRARY_PATH>${env.LD_LIBRARY_PATH}:${user.dir}</LD_LIBRARY_PATH>
</environmentVariables>
<includes>
<include>**/Nd4jTestSuite.java</include>
</includes>
<!--<excludes>
<exclude>**/Test*.java</exclude>
<exclude>**/*Test.java</exclude>
@ -142,7 +139,7 @@
Maximum heap size was set to 8g, as a minimum required value for tests run.
Depending on a build machine, default value is not always enough.
-->
<argLine> -Djava.library.path="${nd4j.basedir}/nd4j-backends/nd4j-backend-impls/nd4j-cuda/target/classes"</argLine>
<argLine>-Xmx8g</argLine>
</configuration>
</plugin>
<plugin>

View File

@ -24,6 +24,7 @@ import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Isolated;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
@ -47,6 +48,7 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals;
@Slf4j
@NativeTag
@Isolated
public class LongTests extends BaseNd4jTestWithBackends {
DataType initialType = Nd4j.dataType();

View File

@ -65,7 +65,6 @@ public class CyclicWorkspaceTests extends BaseNd4jTestWithBackends {
}
}
@Test
@ParameterizedTest
@MethodSource("org.nd4j.linalg.BaseNd4jTestWithBackends#configs")
public void testGc(Nd4jBackend backend) {