diff --git a/hazelcast/test/src/countdownlatch/ICountDownLatchTest.cpp b/hazelcast/test/src/countdownlatch/ICountDownLatchTest.cpp index a1fba87ebb..154926d3cc 100644 --- a/hazelcast/test/src/countdownlatch/ICountDownLatchTest.cpp +++ b/hazelcast/test/src/countdownlatch/ICountDownLatchTest.cpp @@ -48,6 +48,8 @@ namespace hazelcast { util::Thread t(testLatchThread, l.get()); ASSERT_TRUE(l->await(10 * 1000)); + + t.join(); } }