From: hansonr Date: Mon, 26 Aug 2019 17:38:49 +0000 (-0500) Subject: JAL-3423 TestNG test bugs X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=485388f60a91d4179c727dbf035918f440005205;p=jalview.git JAL-3423 TestNG test bugs Cache logger not initializing early enough for some TestNG tests. --- diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 9fbfb83..a58e22a 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -378,6 +378,8 @@ public class Desktop extends GDesktop */ public Desktop(boolean forInstance) { + + Cache.initLogger(); instanceOnly = true; } @@ -388,6 +390,7 @@ public class Desktop extends GDesktop @SuppressWarnings("unused") private Desktop() { + Cache.initLogger(); try { /**