From 29e061116a220838919ae8d1257d6aa68ae3000f Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Wed, 6 Nov 2019 15:10:58 +0200 Subject: [PATCH] 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. --- test/transaction_test_xa.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/transaction_test_xa.cpp b/test/transaction_test_xa.cpp index d313f98..65a1a3f 100644 --- a/test/transaction_test_xa.cpp +++ b/test/transaction_test_xa.cpp @@ -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);