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/30 12:46:16 UTC

[ignite] branch master updated: IGNITE-11119: Fixed flaky IgniteCacheQueryH2IndexingLeakTest. This closes #5958.

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 29b5086  IGNITE-11119: Fixed flaky IgniteCacheQueryH2IndexingLeakTest. This closes #5958.
29b5086 is described below

commit 29b50868a456676fd7e97a2b2bc2dec816fa0b49
Author: tledkov-gridgain <tl...@gridgain.com>
AuthorDate: Wed Jan 30 15:46:08 2019 +0300

    IGNITE-11119: Fixed flaky IgniteCacheQueryH2IndexingLeakTest. This closes #5958.
---
 .../internal/processors/cache/IgniteCacheQueryH2IndexingLeakTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryH2IndexingLeakTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryH2IndexingLeakTest.java
index 30ed4e0..589dfe1 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryH2IndexingLeakTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheQueryH2IndexingLeakTest.java
@@ -57,7 +57,7 @@ public class IgniteCacheQueryH2IndexingLeakTest extends GridCommonAbstractTest {
     private static final int THREAD_COUNT = 10;
 
     /** Timeout */
-    private static final long STMT_CACHE_CLEANUP_TIMEOUT = 1000;
+    private static final long STMT_CACHE_CLEANUP_TIMEOUT = 500;
 
     /** Orig cleanup period. */
     private static String origCacheCleanupPeriod;
@@ -183,7 +183,7 @@ public class IgniteCacheQueryH2IndexingLeakTest extends GridCommonAbstractTest {
                 @Override public boolean apply() {
                     return getStatementCacheSize(qryProc) == 0;
                 }
-            }, STMT_CACHE_CLEANUP_TIMEOUT * 2));
+            }, STMT_CACHE_CLEANUP_TIMEOUT * 10));
         }
     }