mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-27 09:01:50 +03:00
Transaction context unit tests for failures in certify_commit()
This commit is contained in:
@ -64,7 +64,7 @@ BOOST_FIXTURE_TEST_CASE(server_context_applying_2pc,
|
||||
BOOST_FIXTURE_TEST_CASE(server_context_applying_1pc_rollback,
|
||||
applying_server_fixture)
|
||||
{
|
||||
cc.fail_next_applying(true);
|
||||
cc.fail_next_applying_ = true;
|
||||
char buf[1] = { 1 };
|
||||
BOOST_REQUIRE(sc.on_apply(cc, ws_handle, ws_meta,
|
||||
wsrep::data(buf, 1)) == 1);
|
||||
@ -77,7 +77,7 @@ BOOST_FIXTURE_TEST_CASE(server_context_applying_1pc_rollback,
|
||||
BOOST_FIXTURE_TEST_CASE(server_context_applying_2pc_rollback,
|
||||
applying_server_fixture)
|
||||
{
|
||||
cc.fail_next_applying(true);
|
||||
cc.fail_next_applying_ = true;
|
||||
char buf[1] = { 1 };
|
||||
BOOST_REQUIRE(sc.on_apply(cc, ws_handle, ws_meta,
|
||||
wsrep::data(buf, 1)) == 1);
|
||||
|
Reference in New Issue
Block a user