From: kiramt Date: Fri, 24 Mar 2017 09:35:24 +0000 (+0000) Subject: JAL-2314 Fixes to DisorderAnnotExportImport test X-Git-Tag: Release_2_10_2~3^2~143 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6f542373c2639af60edccdbbd1d3bd134972b833;p=jalview.git JAL-2314 Fixes to DisorderAnnotExportImport test --- diff --git a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java index 9b1dc19..2714d6c 100644 --- a/test/jalview/ws/jabaws/DisorderAnnotExportImport.java +++ b/test/jalview/ws/jabaws/DisorderAnnotExportImport.java @@ -69,12 +69,19 @@ public class DisorderAnnotExportImport public static jalview.gui.AlignFrame af = null; - @BeforeClass(inheritGroups = true) + @BeforeClass(alwaysRun = true) public static void setUpBeforeClass() throws Exception { Cache.loadProperties("test/jalview/io/testProps.jvprops"); Cache.initLogger(); disc = JalviewJabawsTestUtils.getJabawsDiscoverer(); + + while (disc.isRunning()) + { + // don't get services until discoverer has finished + Thread.sleep(100); + } + iupreds = new ArrayList(); for (Jws2Instance svc : disc.getServices()) {