diff --git a/test/java/org/elasticsearch/TestSecureSM.java b/test/java/org/elasticsearch/TestSecureSM.java index 9d22edd1fe112..b56389cca22d1 100644 --- a/test/java/org/elasticsearch/TestSecureSM.java +++ b/test/java/org/elasticsearch/TestSecureSM.java @@ -127,7 +127,8 @@ public void run() { t2.start(); t2.interrupt(); t2.join(); - // sibling was not able to muck with its other sibling + // sibling attempted to but was not able to muck with its other sibling + assertTrue(interrupted2.get()); assertFalse(interrupted1.get()); // but we are the parent and can terminate t1.interrupt();