Skip to content

Commit 9673ee1

Browse files
committed
fix latch await return value test
1 parent d6fb6d8 commit 9673ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-api/src/test/java/com/optimizely/ab/notification/NotificationManagerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void testThreadSafety() throws InterruptedException {
100100
}
101101
});
102102
}
103-
latch.await(10, TimeUnit.SECONDS);
103+
assertTrue(latch.await(10, TimeUnit.SECONDS));
104104
assertEquals(numThreads * numRepeats, notificationManager.size());
105105
}
106106
}

0 commit comments

Comments
 (0)