1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00

Fixed transaction_xa_applying unit test.

Adjusted transaction_xa_applying unit test to change in
applying_client_fixture. The fixture does not start transaction
and the transaction needs to be started in test explicitly.
This commit is contained in:
Teemu Ollakka
2019-11-06 15:10:58 +02:00
parent 57523eea75
commit 29e061116a

View File

@ -52,6 +52,7 @@ BOOST_FIXTURE_TEST_CASE(transaction_xa,
BOOST_FIXTURE_TEST_CASE(transaction_xa_applying,
applying_client_fixture)
{
start_transaction(wsrep::transaction_id(1), wsrep::seqno(1));
cc.assign_xid("test xid");
BOOST_REQUIRE(cc.before_prepare() == 0);