diff options
-rw-r--r-- | tests/src/test/java/org/sonarqube/tests/ce/CeShutdownTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/test/java/org/sonarqube/tests/ce/CeShutdownTest.java b/tests/src/test/java/org/sonarqube/tests/ce/CeShutdownTest.java index 30ab04a55ca..10a4fbfdc6b 100644 --- a/tests/src/test/java/org/sonarqube/tests/ce/CeShutdownTest.java +++ b/tests/src/test/java/org/sonarqube/tests/ce/CeShutdownTest.java @@ -172,7 +172,9 @@ public class CeShutdownTest { if (orchestrator != null) { orchestrator.stop(); } - logsTailer.close(); + if (logsTailer != null) { + logsTailer.close(); + } } } } |