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

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

commit d7102e80793fdfe6187cab6a00b0ee74137c2bd8
Author: nabarunnag <n...@cs.wisc.edu>
AuthorDate: Wed Feb 21 18:02:23 2018 -0800

    GEODE-4989: Reverted a fix for Lucene stats
---
 .../cache/lucene/LuceneIndexMaintenanceIntegrationTest.java   | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git 
a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
 
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
index 0988694..a318ca9 100644
--- 
a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
+++ 
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/LuceneIndexMaintenanceIntegrationTest.java
@@ -14,10 +14,14 @@
  */
 package org.apache.geode.cache.lucene;
 
-import static org.apache.geode.cache.lucene.test.LuceneTestUtilities.*;
+import static 
org.apache.geode.cache.lucene.test.LuceneTestUtilities.DEFAULT_FIELD;
+import static 
org.apache.geode.cache.lucene.test.LuceneTestUtilities.INDEX_NAME;
+import static 
org.apache.geode.cache.lucene.test.LuceneTestUtilities.REGION_NAME;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.hamcrest.Matchers.greaterThanOrEqualTo;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
 
 import java.io.Serializable;
 import java.util.Collection;
@@ -48,7 +52,6 @@ import org.apache.geode.cache.query.data.PortfolioPdx;
 import org.apache.geode.internal.cache.CachedDeserializable;
 import org.apache.geode.internal.cache.EntrySnapshot;
 import org.apache.geode.internal.cache.RegionEntry;
-import org.apache.geode.pdx.JSONFormatter;
 import org.apache.geode.pdx.PdxInstance;
 import org.apache.geode.test.junit.categories.IntegrationTest;
 
@@ -200,7 +203,7 @@ public class LuceneIndexMaintenanceIntegrationTest extends 
LuceneIntegrationTest
 
     FileSystemStats fileSystemStats = index.getFileSystemStats();
     LuceneIndexStats indexStats = index.getIndexStats();
-    await(() -> assertEquals(true, 4 <= indexStats.getDocuments()));
+    await(() -> assertEquals(4, indexStats.getDocuments()));
     await(() -> assertTrue(fileSystemStats.getBytes() > 0));
   }
 

-- 
To stop receiving notification emails like this one, please contact
n...@apache.org.

Reply via email to