JAL-3453 test changes needed to allow tests to proceed unheeded by
[jalview.git] / test / jalview / ws / dbsources / RemoteFormatTest.java
index 1e4573d..840f439 100644 (file)
@@ -17,6 +17,7 @@ import jalview.fts.api.FTSRestClientI;
 import jalview.fts.core.FTSRestRequest;
 import jalview.fts.core.FTSRestResponse;
 import jalview.fts.service.uniprot.UniProtFTSRestClient;
+import jalview.gui.Desktop;
 import jalview.ws.SequenceFetcher;
 import jalview.ws.seqfetcher.DbSourceProxy;
 
@@ -44,6 +45,7 @@ public class RemoteFormatTest
   @BeforeTest(alwaysRun = true)
   public void setUp() throws Exception
   {
+    Desktop.getInstanceOnly();
     Cache.loadProperties("test/jalview/io/testProps.jvprops");
     // ensure 'add annotation from structure' is selected
     Cache.setPropertyNoSave("STRUCT_FROM_PDB",
@@ -72,6 +74,9 @@ public class RemoteFormatTest
           throws Exception
   {
     System.out.println("Fetching " + accessionId + " from " + dbSource);
+    System.err.println(
+            "BH 2019.10.06 note see JAL-2114 JUL 2016 for why this test fails.");
+
     List<DbSourceProxy> sps = sf.getSourceProxy(dbSource);
     assertFalse(sps.isEmpty());
     AlignmentI al = sps.get(0).getSequenceRecords(accessionId);