BIND 10 master, updated. 110a33e6c237d71d2efa42d27ae2434b35ddcaa3 [master] temporarily disabled destroyWhileWait due to compat issue with solaris

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 18 00:08:31 UTC 2012


The branch, master has been updated
       via  110a33e6c237d71d2efa42d27ae2434b35ddcaa3 (commit)
      from  5080ddf460167c252502db23b97cdb69fce7f240 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 110a33e6c237d71d2efa42d27ae2434b35ddcaa3
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Oct 17 17:07:35 2012 -0700

    [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.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/util/threads/tests/condvar_unittest.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/util/threads/tests/condvar_unittest.cc b/src/lib/util/threads/tests/condvar_unittest.cc
index e3a534b..77a8980 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({



More information about the bind10-changes mailing list