From: JINMEI Tatuya Date: Thu, 18 Oct 2012 00:07:35 +0000 (-0700) Subject: [master] temporarily disabled destroyWhileWait due to compat issue with solaris X-Git-Tag: trac2402_base~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=110a33e6c237d71d2efa42d27ae2434b35ddcaa3;p=thirdparty%2Fkea.git [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. --- diff --git a/src/lib/util/threads/tests/condvar_unittest.cc b/src/lib/util/threads/tests/condvar_unittest.cc index e3a534b55b..77a8980704 100644 --- a/src/lib/util/threads/tests/condvar_unittest.cc +++ b/src/lib/util/threads/tests/condvar_unittest.cc @@ -137,7 +137,8 @@ signalAndWait(CondVar* condvar, Mutex* 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 // on it. This will trigger an assertion failure. EXPECT_DEATH_IF_SUPPORTED({