From 0324e7e6b71d0422fc2c3dfc737dd01de8f0cada Mon Sep 17 00:00:00 2001 From: LTLA Date: Mon, 30 Sep 2024 08:44:33 -0700 Subject: [PATCH] Re-enable the parallelized test suite in the default test executable. It seems that the thread-related deadlocks have been resolved in the latest version of libtileDB, so we can test parallization properly. --- tests/src/DenseMatrix.cpp | 5 +---- tests/src/SparseMatrix.cpp | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/src/DenseMatrix.cpp b/tests/src/DenseMatrix.cpp index 3a697be..8657983 100644 --- a/tests/src/DenseMatrix.cpp +++ b/tests/src/DenseMatrix.cpp @@ -306,9 +306,9 @@ TEST_F(DenseMatrixMiscellaneousTest, ContextConstructor) { } } +#endif /************************************* *************************************/ -#else class DenseMatrixParallelTest : public ::testing::TestWithParam >, public DenseMatrixTestCore { protected: @@ -375,6 +375,3 @@ INSTANTIATE_TEST_SUITE_P( ::testing::Values(true, false) // oracle usage ) ); - - -#endif diff --git a/tests/src/SparseMatrix.cpp b/tests/src/SparseMatrix.cpp index 7e6123c..f43a93a 100644 --- a/tests/src/SparseMatrix.cpp +++ b/tests/src/SparseMatrix.cpp @@ -323,9 +323,9 @@ TEST_F(SparseMatrixMiscellaneousTest, ContextConstructor) { } } +#endif /************************************* *************************************/ -#else class SparseMatrixParallelTest : public ::testing::TestWithParam >, public SparseMatrixTestCore { protected: @@ -392,5 +392,3 @@ INSTANTIATE_TEST_SUITE_P( ::testing::Values(true, false) // oracle usage ) ); - -#endif