JAL-3423 TestNG test bugs
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Mon, 26 Aug 2019 17:38:49 +0000 (12:38 -0500)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Mon, 26 Aug 2019 17:38:49 +0000 (12:38 -0500)
Cache logger not initializing early enough for some TestNG tests.

src/jalview/gui/Desktop.java

index 9fbfb83..a58e22a 100644 (file)
@@ -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
     {
     /**