geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [06/10] geode git commit: GEODE-2639: Added a wait for flush to avoid flakiness in test
Date Wed, 15 Mar 2017 20:23:45 GMT
GEODE-2639: Added a wait for flush to avoid flakiness in test


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/89847ddb
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/89847ddb
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/89847ddb

Branch: refs/heads/feature/GEODE-2645
Commit: 89847ddb5eafa3f9e1d918d3d3b99a631ab99608
Parents: d8a8973
Author: Jason Huynh <huynhja@gmail.com>
Authored: Tue Mar 14 10:16:38 2017 -0700
Committer: Jason Huynh <huynhja@gmail.com>
Committed: Tue Mar 14 11:47:55 2017 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/geode/cache/lucene/EvictionDUnitTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/89847ddb/geode-lucene/src/test/java/org/apache/geode/cache/lucene/EvictionDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/EvictionDUnitTest.java
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/EvictionDUnitTest.java
index 0fb0d9d..fc2be39 100644
--- a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/EvictionDUnitTest.java
+++ b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/EvictionDUnitTest.java
@@ -105,7 +105,7 @@ public class EvictionDUnitTest extends LuceneQueriesAccessorBase {
       Region region = cache.getRegion(REGION_NAME);
       IntStream.range(0, NUM_BUCKETS).forEach(i -> region.put(i, new TestObject("hello
world")));
     });
-
+    waitForFlushBeforeExecuteTextSearch(accessor, 60000);
     dataStore1.invoke(() -> {
       try {
         getCache().getResourceManager().setEvictionHeapPercentage(INITIAL_EVICTION_HEAP_PERCENTAGE);


Mime
View raw message