From 6f542373c2639af60edccdbbd1d3bd134972b833 Mon Sep 17 00:00:00 2001 From: kiramt Date: Fri, 24 Mar 2017 09:35:24 +0000 Subject: [PATCH] JAL-2314 Fixes to DisorderAnnotExportImport test --- test/jalview/ws/jabaws/DisorderAnnotExportImport.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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()) { -- 1.7.10.2