You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by am...@apache.org on 2019/06/05 11:08:20 UTC

[ignite] 17/31: IGNITE-11702 Awaiting PME in test. - Fixes #6425.

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

amashenkov pushed a commit to branch gg-19225
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit b75a023ff106d38731c4382f4214c90424e28be0
Author: ibessonov <be...@gmail.com>
AuthorDate: Wed Apr 10 13:29:56 2019 +0300

    IGNITE-11702 Awaiting PME in test. - Fixes #6425.
    
    Signed-off-by: Dmitriy Govorukhin <dm...@gmail.com>
    (cherry picked from commit 438c9e1865d8ecfe0744621390452369f4676302)
---
 .../cache/distributed/near/GridCacheNearOnlyTopologySelfTest.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyTopologySelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyTopologySelfTest.java
index acc9b66..3689341 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyTopologySelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/near/GridCacheNearOnlyTopologySelfTest.java
@@ -177,9 +177,11 @@ public class GridCacheNearOnlyTopologySelfTest extends GridCommonAbstractTest {
                 Ignite ignite = startGrid(i);
 
                 if (cilent)
-                    ignite.createNearCache(DEFAULT_CACHE_NAME, new NearCacheConfiguration());
+                    ignite.createNearCache(DEFAULT_CACHE_NAME, new NearCacheConfiguration<>());
             }
 
+            awaitPartitionMapExchange();
+
             for (int i = 0; i < 10; i++)
                 grid(1).cache(DEFAULT_CACHE_NAME).put(i, i);