Fix mvcc tests
Summary: This diff fixs failing release daily builds (hopefully).. Reviewers: buda, dgleich Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D908
This commit is contained in:
parent
06b0111ddc
commit
f6b1c9b6e2
@ -108,3 +108,9 @@ TEST_F(Mvcc, RemoveAdvanceRemove) {
|
||||
EXPECT_EQ(T2_FIND, nullptr);
|
||||
EXPECT_DEATH(T2_REMOVE, ".*nullptr.*");
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
::testing::FLAGS_gtest_death_test_style = "threadsafe";
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
@ -3,7 +3,6 @@
|
||||
#undef T4_FIND
|
||||
#define T4_FIND version_list.find(*t4)
|
||||
|
||||
|
||||
// IMPORTANT: look definiton of EXPECT_CRE and EXPECT_EXP macros in
|
||||
// tests/mvcc_find_update_common.hpp. Numbers in those macros represent
|
||||
// transaction ids when transactions where created.
|
||||
@ -555,3 +554,9 @@ TEST_F(Mvcc, RemAbtRemAbt3) {
|
||||
T4_BEGIN;
|
||||
EXPECT_EQ(T4_FIND, v1);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
::testing::FLAGS_gtest_death_test_style = "threadsafe";
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user