Skip to content

Commit

Permalink
Added the thread join for the latch test so that the countdown finish…
Browse files Browse the repository at this point in the history
…es gracefully without thread cancellation.
  • Loading branch information
ihsandemir committed Apr 4, 2016
1 parent 086cbcb commit ae2e5c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hazelcast/test/src/countdownlatch/ICountDownLatchTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ namespace hazelcast {
util::Thread t(testLatchThread, l.get());

ASSERT_TRUE(l->await(10 * 1000));

t.join();
}

}
Expand Down

0 comments on commit ae2e5c9

Please sign in to comment.