mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Squashed memory leaks to get clean test run with ASAN enabled.
This commit is contained in:
@ -1112,6 +1112,8 @@ BOOST_FIXTURE_TEST_CASE(transaction_streaming_1pc_bf_abort_during_fragment_remov
|
||||
BOOST_REQUIRE(tc.state() == wsrep::transaction::s_aborted);
|
||||
BOOST_REQUIRE(cc.after_statement());
|
||||
BOOST_REQUIRE(tc.active() == false);
|
||||
wsrep_test::terminate_streaming_applier(sc, sc.id(),
|
||||
wsrep::transaction_id(1));
|
||||
}
|
||||
|
||||
//
|
||||
@ -1154,6 +1156,9 @@ BOOST_FIXTURE_TEST_CASE(transaction_row_streaming_bf_abort_executing,
|
||||
BOOST_REQUIRE(cc.before_rollback() == 0);
|
||||
BOOST_REQUIRE(cc.after_rollback() == 0);
|
||||
BOOST_REQUIRE(cc.after_statement());
|
||||
wsrep_test::terminate_streaming_applier(sc, sc.id(),
|
||||
wsrep::transaction_id(1));
|
||||
|
||||
}
|
||||
//
|
||||
// Test streaming certification failure during fragment replication
|
||||
|
Reference in New Issue
Block a user