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 2018/08/23 22:28:14 UTC
[geode] branch develop updated: GEODE-5630: fix use of Awaitility
in BucketCreationCrashCompletesRegressionTest
This is an automated email from the ASF dual-hosted git repository.
klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new abb2702 GEODE-5630: fix use of Awaitility in BucketCreationCrashCompletesRegressionTest
abb2702 is described below
commit abb2702eb252efc2e27ba78d6dde8fc2bac13545
Author: Kirk Lund <kl...@apache.org>
AuthorDate: Thu Aug 23 13:34:21 2018 -0700
GEODE-5630: fix use of Awaitility in BucketCreationCrashCompletesRegressionTest
---
.../cache/partitioned/BucketCreationCrashCompletesRegressionTest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketCreationCrashCompletesRegressionTest.java b/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketCreationCrashCompletesRegressionTest.java
index 5f98558..457e6cf 100644
--- a/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketCreationCrashCompletesRegressionTest.java
+++ b/geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/BucketCreationCrashCompletesRegressionTest.java
@@ -170,9 +170,7 @@ public class BucketCreationCrashCompletesRegressionTest implements Serializable
.getTotalNumBuckets(); i++) {
int bucketId = i;
- await().atMost(2, MINUTES).untilAsserted(() -> {
- hasBucketOwners(partitionedRegion, bucketId);
- });
+ await().atMost(2, MINUTES).until(() -> hasBucketOwners(partitionedRegion, bucketId));
List owners = partitionedRegion.getBucketOwnersForValidation(bucketId);
assertThat(owners).isNotNull();