diff --git a/src/test/operators/join_equi_test.cpp b/src/test/operators/join_equi_test.cpp index 7ed0101b79..ac9a5df370 100644 --- a/src/test/operators/join_equi_test.cpp +++ b/src/test/operators/join_equi_test.cpp @@ -319,6 +319,7 @@ TYPED_TEST(JoinEquiTest, AppliesPrefixes) { } TYPED_TEST(JoinEquiTest, ColumnsNotOptional) { + if (!IS_DEBUG) return; EXPECT_THROW(std::make_shared(this->_gt_f, this->_gt_g, nullopt, "=", Left, std::string("left."), std::string("right.")), std::runtime_error); diff --git a/src/test/operators/join_full_test.cpp b/src/test/operators/join_full_test.cpp index 9fe639a02b..d5d7627017 100644 --- a/src/test/operators/join_full_test.cpp +++ b/src/test/operators/join_full_test.cpp @@ -34,6 +34,7 @@ typedef ::testing::Types TYPED_TEST_CASE(JoinFullTest, JoinFullTypes); TYPED_TEST(JoinFullTest, CrossJoin) { + if (!IS_DEBUG) return; // this->template test_join_output(this->_gt_a, this->_gt_b, std::pair("a", "a"), // "=", Cross, "src/test/tables/joinoperators/int_cross_join.tbl", 1);