Disable tests with permissions issues for now

master
agibsonccc 2021-03-19 13:45:58 +09:00
parent 8ba67621ef
commit 9ab6a54f6b
11 changed files with 21 additions and 2 deletions

View File

@ -27,6 +27,7 @@ import org.deeplearning4j.iterator.bert.BertMaskedLMMasker;
import org.deeplearning4j.iterator.provider.CollectionLabeledPairSentenceProvider;
import org.deeplearning4j.iterator.provider.CollectionLabeledSentenceProvider;
import org.deeplearning4j.text.tokenization.tokenizerfactory.BertWordPieceTokenizerFactory;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.nd4j.linalg.api.buffer.DataType;
@ -47,6 +48,7 @@ import java.util.*;
import static org.junit.jupiter.api.Assertions.*;
@Disabled("Permissions issues on CI")
public class TestBertIterator extends BaseDL4JTest {
private static File pathToVocab = Resources.asFile("other/vocab.txt");
@ -56,8 +58,6 @@ public class TestBertIterator extends BaseDL4JTest {
private static String sentenceA = "Goodnight noises everywhere";
private static String sentenceB = "Goodnight moon";
public TestBertIterator() throws IOException {
}
@Test()
public void testBertSequenceClassification() throws Exception {

View File

@ -24,6 +24,7 @@ import lombok.val;
import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.io.TempDir;
import org.nd4j.common.io.ClassPathResource;
@ -46,6 +47,7 @@ import java.nio.file.Path;
import static org.junit.jupiter.api.Assertions.*;
@Disabled("Permissions issues on CI")
public class InMemoryLookupTableTest extends BaseDL4JTest {

View File

@ -74,6 +74,7 @@ import java.util.*;
import static org.junit.jupiter.api.Assertions.*;
@Slf4j
@Disabled("Permissions issues on CI")
public class ParagraphVectorsTest extends BaseDL4JTest {
@Override

View File

@ -34,6 +34,7 @@ import org.deeplearning4j.text.sentenceiterator.SentenceIterator;
import org.deeplearning4j.text.tokenization.tokenizerfactory.DefaultTokenizerFactory;
import org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.nd4j.common.resources.Resources;
@ -46,6 +47,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
@Slf4j
@Disabled("Permissions issues on CI")
public class ParallelTransformerIteratorTest extends BaseDL4JTest {
private TokenizerFactory factory = new DefaultTokenizerFactory();

View File

@ -24,6 +24,7 @@ import lombok.val;
import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.io.TempDir;
import org.nd4j.common.io.ClassPathResource;
@ -53,6 +54,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
import static org.junit.jupiter.api.Assertions.*;
@Disabled("Permissions issues on CI")
public class VocabConstructorTest extends BaseDL4JTest {

View File

@ -23,12 +23,14 @@ package org.deeplearning4j.text.documentiterator;
import org.deeplearning4j.BaseDL4JTest;
import org.deeplearning4j.text.sentenceiterator.BasicLineIterator;
import org.deeplearning4j.text.sentenceiterator.SentenceIterator;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.nd4j.common.resources.Resources;
import static org.junit.jupiter.api.Assertions.assertEquals;
@Disabled("Permissions issues on CI")
public class AsyncLabelAwareIteratorTest extends BaseDL4JTest {
@Test()
@Timeout(30000)

View File

@ -25,6 +25,7 @@ import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.nd4j.common.resources.Resources;
@ -36,6 +37,7 @@ import java.util.List;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
@Disabled("Permissions issues on CI")
public class FilenamesLabelAwareIteratorTest extends BaseDL4JTest {

View File

@ -21,6 +21,7 @@
package org.deeplearning4j.text.sentenceiterator;
import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.nd4j.common.resources.Resources;
@ -29,6 +30,7 @@ import java.io.File;
import static org.junit.jupiter.api.Assertions.assertEquals;
@Disabled("Permissions issues on CI")
public class AggregatingSentenceIteratorTest extends BaseDL4JTest {
@Test()

View File

@ -24,6 +24,7 @@ import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.nd4j.common.resources.Resources;
@ -32,6 +33,7 @@ import java.io.FileInputStream;
import static org.junit.jupiter.api.Assertions.assertEquals;
@Disabled("Permissions issues on CI")
public class BasicLineIteratorTest extends BaseDL4JTest {

View File

@ -21,12 +21,14 @@
package org.deeplearning4j.text.sentenceiterator;
import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.nd4j.common.resources.Resources;
import static org.junit.jupiter.api.Assertions.assertEquals;
@Disabled("Permissions issues on CI")
public class MutipleEpochsSentenceIteratorTest extends BaseDL4JTest {
@Test()
@Timeout(30000)

View File

@ -23,6 +23,7 @@ package org.deeplearning4j.text.sentenceiterator;
import org.deeplearning4j.BaseDL4JTest;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.nd4j.common.resources.Resources;
import org.slf4j.Logger;
@ -33,6 +34,7 @@ import java.io.File;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
@Disabled("Deprecated module")
public class PrefetchingSentenceIteratorTest extends BaseDL4JTest {