Skip to content
Snippets Groups Projects
Commit 88a96810 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

disable ctd tests

parent 7d19ee65
No related branches found
No related tags found
3 merge requests!814disable ctd tests,!813ignore ctd tests,!812ctd blocks our queries
Pipeline #10626 failed
......@@ -5,9 +5,9 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.nullable;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.when;
import java.io.IOException;
......@@ -17,14 +17,13 @@ import java.util.Map;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.log4j.Logger;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mockito;
import org.springframework.beans.factory.annotation.Autowired;
import lcsb.mapviewer.annotation.AnnotationTestFunctions;
import lcsb.mapviewer.annotation.cache.GeneralCacheInterface;
import lcsb.mapviewer.annotation.cache.GeneralCacheWithExclusion;
import lcsb.mapviewer.annotation.cache.PermanentDatabaseLevelCache;
import lcsb.mapviewer.annotation.cache.PermanentDatabaseLevelCacheInterface;
import lcsb.mapviewer.annotation.cache.SourceNotAvailable;
import lcsb.mapviewer.annotation.cache.WebPageDownloader;
......@@ -39,6 +38,7 @@ import lcsb.mapviewer.model.map.MiriamData;
import lcsb.mapviewer.model.map.MiriamType;
import lcsb.mapviewer.model.map.model.Model;
@Ignore("ctd decided to block us due to too many requests")
public class ChemicalParserTest extends AnnotationTestFunctions {
Logger logger = Logger.getLogger(ChemicalParserTest.class);
......
......@@ -6,6 +6,7 @@ import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import lcsb.mapviewer.annotation.data.Chemical;
......@@ -43,6 +44,7 @@ public class ElementMatcherTest extends ServiceTestFunctions {
}
@Test
@Ignore("ctd decided to block us due to too many requests")
public void testElementMatch() {
String geneName = "GCH1";
MiriamData dystoniaDisease = new MiriamData(MiriamType.MESH_2012, "C538007");
......
......@@ -10,6 +10,7 @@ import java.util.List;
import org.apache.log4j.Logger;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import lcsb.mapviewer.annotation.data.Chemical;
......@@ -20,6 +21,7 @@ import lcsb.mapviewer.model.map.species.Rna;
import lcsb.mapviewer.services.ServiceTestFunctions;
import lcsb.mapviewer.services.search.DbSearchCriteria;
@Ignore("ctd decided to block us due to too many requests")
public class ChemicalServiceTest extends ServiceTestFunctions {
Logger logger = Logger.getLogger(ChemicalServiceTest.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment