You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2016/10/25 17:30:49 UTC
[1/2] incubator-geode git commit: changed wait from 30 to 60 removed
InterruptedException
Repository: incubator-geode
Updated Branches:
refs/heads/feature/GEODE-2026 d4262fb50 -> 63fbba323
changed wait from 30 to 60
removed InterruptedException
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/71ee977d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/71ee977d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/71ee977d
Branch: refs/heads/feature/GEODE-2026
Commit: 71ee977d1388ec9cf6176d3df9e40e98f013b084
Parents: d4262fb
Author: Darrel Schneider <ds...@pivotal.io>
Authored: Mon Oct 24 16:32:13 2016 -0700
Committer: Darrel Schneider <ds...@pivotal.io>
Committed: Mon Oct 24 16:32:13 2016 -0700
----------------------------------------------------------------------
.../cache/partitioned/PersistentPartitionedRegionDUnitTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/71ee977d/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
index c4358fc..633366d 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
@@ -1629,12 +1629,12 @@ public class PersistentPartitionedRegionDUnitTest extends PersistentPartitionedR
AsyncInvocation asyncCreate = vm0.invokeAsync(createData);
SerializableCallable waitForIntValue = new SerializableCallable() {
- public Object call() throws InterruptedException {
+ public Object call() {
Cache cache = getCache();
Region region = cache.getRegion(PR_REGION_NAME);
// The value is initialized as a String so wait
// for it to be changed to an Integer.
- await().atMost(30, SECONDS).until(() -> {
+ await().atMost(60, SECONDS).until(() -> {
return region.get(0) instanceof Integer;
});
return region.get(0);
[2/2] incubator-geode git commit: also wait for vm1 to change to an
int
Posted by ds...@apache.org.
also wait for vm1 to change to an int
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/63fbba32
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/63fbba32
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/63fbba32
Branch: refs/heads/feature/GEODE-2026
Commit: 63fbba323bfe371c023445b88a9dbfaad567070d
Parents: 71ee977
Author: Darrel Schneider <ds...@pivotal.io>
Authored: Tue Oct 25 10:30:26 2016 -0700
Committer: Darrel Schneider <ds...@pivotal.io>
Committed: Tue Oct 25 10:30:26 2016 -0700
----------------------------------------------------------------------
.../cache/partitioned/PersistentPartitionedRegionDUnitTest.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/63fbba32/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
index 633366d..9479883 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PersistentPartitionedRegionDUnitTest.java
@@ -1641,6 +1641,7 @@ public class PersistentPartitionedRegionDUnitTest extends PersistentPartitionedR
}
};
vm0.invoke(waitForIntValue);
+ vm1.invoke(waitForIntValue);
AsyncInvocation close0 = closeCacheAsync(vm0);
AsyncInvocation close1 = closeCacheAsync(vm1);