JAL-3562 - use isCalcInProgress rather than waiting for a non-null response from...
authorJim Procter <jprocter@issues.jalview.org>
Thu, 26 Mar 2020 13:36:40 +0000 (13:36 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 26 Mar 2020 13:37:05 +0000 (13:37 +0000)
test/jalview/gui/AlignmentPanelTest.java

index 4f2fafc..1048d1b 100644 (file)
@@ -59,7 +59,7 @@ public class AlignmentPanelTest
      */
     synchronized (this)
     {
-      while (af.getViewport().getConsensusSeq() == null)
+      while (af.getViewport().isCalcInProgress())
       {
         try
         {