From: Jim Procter Date: Thu, 26 Mar 2020 13:36:40 +0000 (+0000) Subject: JAL-3562 - use isCalcInProgress rather than waiting for a non-null response from... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2dfcf451be68a97b34170a9eb9cdbb40365daa98;p=jalview.git 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 --- 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 {