This is an automated email from the ASF dual-hosted git repository.

bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new a1f9244  GEODE-6641: Add ClientTransactionXATest to run (#603)
a1f9244 is described below

commit a1f92449c76bc9041a60e8f7a310ded5f85926bb
Author: M. Oleske <[email protected]>
AuthorDate: Thu May 28 08:16:35 2020 -0700

    GEODE-6641: Add ClientTransactionXATest to run (#603)
    
    - sort integration tests in CMakeLists
---
 cppcache/integration/test/CMakeLists.txt              | 5 +++--
 cppcache/integration/test/ClientTransactionXATest.cpp | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/cppcache/integration/test/CMakeLists.txt 
b/cppcache/integration/test/CMakeLists.txt
index 23f819c..442e6ce 100644
--- a/cppcache/integration/test/CMakeLists.txt
+++ b/cppcache/integration/test/CMakeLists.txt
@@ -15,7 +15,10 @@
 
 add_executable(cpp-integration-test
   AuthInitializeTest.cpp
+  BasicIPv6Test.cpp
   CacheXmlTest.cpp
+  CleanIdleConnections.cpp
+  ClientTransactionXATest.cpp
   CommitConflictExceptionTest.cpp
   CqPlusAuthInitializeTest.cpp
   CqTest.cpp
@@ -39,8 +42,6 @@ add_executable(cpp-integration-test
   SslTwoWayTest.cpp
   StructTest.cpp
   TransactionCleaningTest.cpp
-  CleanIdleConnections.cpp
-  BasicIPv6Test.cpp
 )
 
 target_compile_definitions(cpp-integration-test
diff --git a/cppcache/integration/test/ClientTransactionXATest.cpp 
b/cppcache/integration/test/ClientTransactionXATest.cpp
index 277013c..c0fd97b 100644
--- a/cppcache/integration/test/ClientTransactionXATest.cpp
+++ b/cppcache/integration/test/ClientTransactionXATest.cpp
@@ -15,9 +15,6 @@
  * limitations under the License.
  */
 
-#include <gmock/gmock.h>
-
-#include <future>
 #include <thread>
 
 #include <gtest/gtest.h>
@@ -44,6 +41,9 @@ std::shared_ptr<apache::geode::client::Region> setupRegion(
 
 TEST(ClientTransactionXATest, interTxand2PCTx) {
   Cluster cluster{LocatorCount{1}, ServerCount{1}};
+
+  cluster.start();
+
   cluster.getGfsh()
       .create()
       .region()

Reply via email to