From 2dfcf451be68a97b34170a9eb9cdbb40365daa98 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 26 Mar 2020 13:36:40 +0000 Subject: [PATCH] JAL-3562 - use isCalcInProgress rather than waiting for a non-null response from getConsensusSeq to indicate when alignFrame is ready to be poked and prodded by test code --- test/jalview/gui/AlignmentPanelTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jalview/gui/AlignmentPanelTest.java b/test/jalview/gui/AlignmentPanelTest.java index 4f2fafc..1048d1b 100644 --- a/test/jalview/gui/AlignmentPanelTest.java +++ b/test/jalview/gui/AlignmentPanelTest.java @@ -59,7 +59,7 @@ public class AlignmentPanelTest */ synchronized (this) { - while (af.getViewport().getConsensusSeq() == null) + while (af.getViewport().isCalcInProgress()) { try { -- 1.7.10.2