Skip to content

Commit

Permalink
Fixes failing tests in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mrks committed Apr 3, 2017
1 parent 15dbd5f commit 576b445
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/operators/join_equi_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ TYPED_TEST(JoinEquiTest, AppliesPrefixes) {
}

TYPED_TEST(JoinEquiTest, ColumnsNotOptional) {
if (!IS_DEBUG) return;
EXPECT_THROW(std::make_shared<TypeParam>(this->_gt_f, this->_gt_g, nullopt, "=", Left, std::string("left."),
std::string("right.")),
std::runtime_error);
Expand Down
1 change: 1 addition & 0 deletions src/test/operators/join_full_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ typedef ::testing::Types<JoinNestedLoopA, JoinNestedLoopB /* , SortMergeJoin */>
TYPED_TEST_CASE(JoinFullTest, JoinFullTypes);

TYPED_TEST(JoinFullTest, CrossJoin) {
if (!IS_DEBUG) return;
// this->template test_join_output<TypeParam>(this->_gt_a, this->_gt_b, std::pair<std::string, std::string>("a", "a"),
// "=", Cross, "src/test/tables/joinoperators/int_cross_join.tbl", 1);

Expand Down

0 comments on commit 576b445

Please sign in to comment.