You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2019/01/24 10:09:55 UTC

[ignite] branch master updated: IGNITE-10770: Enabled JdbcThinTransactionsAbstractComplexSelfTest.testInsertAndQueryMultipleCaches. Works fine with prior PME await.

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

vozerov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new a89692f  IGNITE-10770: Enabled JdbcThinTransactionsAbstractComplexSelfTest.testInsertAndQueryMultipleCaches. Works fine with prior PME await.
a89692f is described below

commit a89692f4f09cf432c0b6414acb091580cc7bef60
Author: devozerov <vo...@gridgain.com>
AuthorDate: Thu Jan 24 13:09:37 2019 +0300

    IGNITE-10770: Enabled JdbcThinTransactionsAbstractComplexSelfTest.testInsertAndQueryMultipleCaches. Works fine with prior PME await.
---
 .../JdbcThinTransactionsAbstractComplexSelfTest.java  | 19 ++-----------------
 1 file changed, 2 insertions(+), 17 deletions(-)

diff --git a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java
index d614fbc..ecf376f 100644
--- a/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java
+++ b/modules/clients/src/test/java/org/apache/ignite/jdbc/thin/JdbcThinTransactionsAbstractComplexSelfTest.java
@@ -162,38 +162,27 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
         execute("CREATE INDEX IF NOT EXISTS persidx ON \"Person\".person(cityid)");
 
         insertPerson(1, "John", "Smith", 1, 1);
-
         insertPerson(2, "Mike", "Johns", 1, 2);
-
         insertPerson(3, "Sam", "Jules", 2, 2);
-
         insertPerson(4, "Alex", "Pope", 2, 3);
-
         insertPerson(5, "Peter", "Williams", 2, 3);
 
         insertCity(1, "Los Angeles", 5000);
-
         insertCity(2, "Seattle", 1500);
-
         insertCity(3, "New York", 12000);
-
         insertCity(4, "Cupertino", 400);
 
         insertCompany(1, "Microsoft", 2);
-
         insertCompany(2, "Google", 3);
-
         insertCompany(3, "Facebook", 1);
-
         insertCompany(4, "Uber", 1);
-
         insertCompany(5, "Apple", 4);
 
         insertProduct(1, "Search", 2);
-
         insertProduct(2, "Windows", 1);
-
         insertProduct(3, "Mac", 5);
+
+        awaitPartitionMapExchange();
     }
 
     /** {@inheritDoc} */
@@ -201,11 +190,8 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
         super.beforeTestsStarted();
 
         startGrid(0);
-
         startGrid(1);
-
         startGrid(2);
-
         startGrid(3);
     }
 
@@ -347,7 +333,6 @@ public abstract class JdbcThinTransactionsAbstractComplexSelfTest extends JdbcTh
     /**
      *
      */
-    @Ignore("https://issues.apache.org/jira/browse/IGNITE-10770")
     @Test
     public void testInsertAndQueryMultipleCaches() throws SQLException {
         executeInTransaction(new TransactionClosure() {