From: Jim Procter Date: Wed, 28 Sep 2016 14:56:38 +0000 (+0100) Subject: JAL-1270 read test props before manipulating config for this test X-Git-Tag: Release_2_10_0~20^2~26 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4bdfd889545ff56e3b697f7b59b0c5320cf6028f;p=jalview.git JAL-1270 read test props before manipulating config for this test --- diff --git a/test/jalview/ws/sifts/SiftsClientTest.java b/test/jalview/ws/sifts/SiftsClientTest.java index 6f9a864..d3b485e 100644 --- a/test/jalview/ws/sifts/SiftsClientTest.java +++ b/test/jalview/ws/sifts/SiftsClientTest.java @@ -21,6 +21,7 @@ package jalview.ws.sifts; import jalview.api.DBRefEntryI; +import jalview.bin.Cache; import jalview.datamodel.DBRefEntry; import jalview.datamodel.DBRefSource; import jalview.datamodel.Sequence; @@ -170,6 +171,8 @@ public class SiftsClientTest @BeforeTest(alwaysRun = true) public void setUpSiftsClient() throws SiftsException { + // read test props before manipulating config + Cache.loadProperties("test/jalview/io/testProps.jvprops"); // SIFTs entries are updated weekly - so use saved SIFTs file to enforce // test reproducibility new SiftsSettings();