]> source.dussan.org Git - sonarqube.git/commitdiff
Close logsTailer when closing ComputeEngine
authorEric Hartmann <hartmann.eric@gmail.com>
Wed, 6 Sep 2017 08:32:17 +0000 (10:32 +0200)
committerEric Hartmann <hartmann.eric@gmail.Com>
Thu, 14 Sep 2017 16:18:20 +0000 (18:18 +0200)
tests/src/test/java/org/sonarqube/tests/ce/CeShutdownTest.java

index 30ab04a55caee4f7b76c0ee6e8398a64135f420d..10a4fbfdc6b03e8bc26998bfb7d23ef5b9942436 100644 (file)
@@ -172,7 +172,9 @@ public class CeShutdownTest {
       if (orchestrator != null) {
         orchestrator.stop();
       }
-      logsTailer.close();
+      if (logsTailer != null) {
+        logsTailer.close();
+      }
     }
   }
 }