From: Jim Procter Date: Fri, 26 Aug 2016 12:24:05 +0000 (+0100) Subject: JAL-2154 ensure pass increments actually result in a termination X-Git-Tag: Release_2_10_0~47^2~4^2~43^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7e25e03f37c57b099239e0e6f5e6a413a4f6539c;p=jalview.git JAL-2154 ensure pass increments actually result in a termination --- diff --git a/test/jalview/io/CrossRef2xmlTests.java b/test/jalview/io/CrossRef2xmlTests.java index 67626c8..fc59e1f 100644 --- a/test/jalview/io/CrossRef2xmlTests.java +++ b/test/jalview/io/CrossRef2xmlTests.java @@ -369,10 +369,14 @@ public class CrossRef2xmlTests extends Jalview2xmlBase } else { - // verify stored projects for second set of cross references - pass2 = 1; + pass1++; + if (pass1 < 2) + { + // verify stored projects for second set of cross references + pass2 = 1; // and verify cross-references retrievable from those stored projects. - pass3 = 0; + pass3 = 0; + } } } while (pass3 < 2); }