You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2016/12/12 22:36:14 UTC

[11/46] geode git commit: GEODE-2120: fix the test timing issue and do spotlessApply

GEODE-2120: fix the test timing issue and do spotlessApply


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

Branch: refs/heads/feature/GEODE-1930
Commit: e607497cb04d820c0f0a0ffcf787b1536bbf18e1
Parents: c56554e
Author: zhouxh <gz...@pivotal.io>
Authored: Fri Nov 18 09:17:08 2016 -0800
Committer: zhouxh <gz...@pivotal.io>
Committed: Fri Nov 18 09:17:08 2016 -0800

----------------------------------------------------------------------
 .../internal/cache/MultipleOplogsRollingFeatureJUnitTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/e607497c/geode-core/src/test/java/org/apache/geode/internal/cache/MultipleOplogsRollingFeatureJUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/MultipleOplogsRollingFeatureJUnitTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/MultipleOplogsRollingFeatureJUnitTest.java
index c79f4fa..85d19af 100755
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/MultipleOplogsRollingFeatureJUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/MultipleOplogsRollingFeatureJUnitTest.java
@@ -82,7 +82,7 @@ public class MultipleOplogsRollingFeatureJUnitTest extends DiskRegionTestingBase
       addEntries(1 /* oplogNumber */, 50 /* byte array size */);
 
       ((LocalRegion) region).getDiskStore().forceCompaction();
-      Awaitility.waitAtMost(15, TimeUnit.SECONDS).until(()->FLAG==true);
+      Awaitility.waitAtMost(15, TimeUnit.SECONDS).until(() -> FLAG == true);
       logWriter.info("testMultipleRolling after waitForCompactor");
       // the compactor copied two tombstone and 1 entry to oplog #2
       // The total oplog size will become 429, that why we need to
@@ -139,7 +139,7 @@ public class MultipleOplogsRollingFeatureJUnitTest extends DiskRegionTestingBase
     }
 
     // let the main thread sleep so that rolling gets over
-    Awaitility.waitAtMost(25, TimeUnit.SECONDS).until(()->FLAG==true);
+    Awaitility.waitAtMost(25, TimeUnit.SECONDS).until(() -> FLAG == true);
 
     assertTrue("Number of Oplogs to be rolled is not null : this is unexpected",
         diskRegion.getOplogToBeCompacted() == null);