// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #include <config.h>
+#include <gtest/gtest.h>
#include <log/logger_support.h>
#include <util/unittests/run_all.h>
condvar->wait(*mutex);
}
-TEST_F(CondVarTest,
#ifdef HAS_UNDEFINED_PTHREAD_BEHAVIOR
- DISABLED_destroyWhileWait
+TEST_F(CondVarTest, DISABLED_destroyWhileWait) {
#else
- TEST_F(CondVarTest, destroyWhileWait) {
+ // This tests had to be disabled because it hangs on most of the OS used in lab
+ // TODO fix destroyWhileWait test
- DISABLED_destroyWhileWait
++TEST_F(CondVarTest, DISABLED_destroyWhileWait) {
#endif
-) {
// We'll destroy a CondVar object while the thread is still waiting
// on it. This will trigger an assertion failure.
if (!isc::util::unittests::runningOnValgrind()) {