mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 23:45:27 +00:00
[master] temporarily disabled destroyWhileWait due to compat issue with solaris
solaris's pthread_cond_destroy doesn't seem to fail reliably in this case as the test expects.
This commit is contained in:
@@ -137,7 +137,8 @@ signalAndWait(CondVar* condvar, Mutex* mutex) {
|
|||||||
condvar->wait(*mutex);
|
condvar->wait(*mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(CondVarTest, destroyWhileWait) {
|
// Temporarily disabled: Solaris seems to make this behavior "undefined"
|
||||||
|
TEST_F(CondVarTest, DISABLED_destroyWhileWait) {
|
||||||
// We'll destroy a CondVar object while the thread is still waiting
|
// We'll destroy a CondVar object while the thread is still waiting
|
||||||
// on it. This will trigger an assertion failure.
|
// on it. This will trigger an assertion failure.
|
||||||
EXPECT_DEATH_IF_SUPPORTED({
|
EXPECT_DEATH_IF_SUPPORTED({
|
||||||
|
Reference in New Issue
Block a user