geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zho...@apache.org
Subject incubator-geode git commit: GEODE-2120: fix the test timing issue and do spotlessApply
Date Fri, 18 Nov 2016 17:17:35 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop c56554e3c -> e607497cb


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


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

Branch: refs/heads/develop
Commit: e607497cb04d820c0f0a0ffcf787b1536bbf18e1
Parents: c56554e
Author: zhouxh <gzhou@pivotal.io>
Authored: Fri Nov 18 09:17:08 2016 -0800
Committer: zhouxh <gzhou@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/incubator-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);


Mime
View raw message