mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-05 04:01:12 +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:
@@ -52,6 +52,7 @@ BOOST_FIXTURE_TEST_CASE(transaction_xa,
|
|||||||
BOOST_FIXTURE_TEST_CASE(transaction_xa_applying,
|
BOOST_FIXTURE_TEST_CASE(transaction_xa_applying,
|
||||||
applying_client_fixture)
|
applying_client_fixture)
|
||||||
{
|
{
|
||||||
|
start_transaction(wsrep::transaction_id(1), wsrep::seqno(1));
|
||||||
cc.assign_xid("test xid");
|
cc.assign_xid("test xid");
|
||||||
|
|
||||||
BOOST_REQUIRE(cc.before_prepare() == 0);
|
BOOST_REQUIRE(cc.before_prepare() == 0);
|
||||||
|
Reference in New Issue
Block a user