You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ki...@apache.org on 2015/07/30 15:19:51 UTC
incubator-geode git commit:
GEODE-95:PartitionedRegionSingleHopDUnitTest.test_MetadataContents fails
intermittently There is a race between updating the metadata by client and
creation of secondary bucket. Once, the client fetches the metadata without i
Repository: incubator-geode
Updated Branches:
refs/heads/develop 64a9bd411 -> b460df43b
GEODE-95:PartitionedRegionSingleHopDUnitTest.test_MetadataContents fails intermittently
There is a race between updating the metadata by client and creation of secondary bucket.
Once, the client fetches the metadata without information of secondary bucket(due to race), any further put/get will go to the correct server which hosts the bucket for which client has information. This will not cause any re-fetching of metadata from server as there is no hop. Hence only making test changes.
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/b460df43
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/b460df43
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/b460df43
Branch: refs/heads/develop
Commit: b460df43b1f2dbf06ad37f4175ca58ea49c450b3
Parents: 64a9bd4
Author: kbachhav <kbachhav.pivotal.io>
Authored: Thu Jul 30 18:46:08 2015 +0530
Committer: kbachhav <kbachhav.pivotal.io>
Committed: Thu Jul 30 18:46:55 2015 +0530
----------------------------------------------------------------------
.../internal/cache/PartitionedRegionSingleHopDUnitTest.java | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/b460df43/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/PartitionedRegionSingleHopDUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/PartitionedRegionSingleHopDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/PartitionedRegionSingleHopDUnitTest.java
index 95fbe70..39618bb 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/PartitionedRegionSingleHopDUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/PartitionedRegionSingleHopDUnitTest.java
@@ -2216,10 +2216,6 @@ public class PartitionedRegionSingleHopDUnitTest extends CacheTestCase {
}
};
DistributedTestCase.waitForCriterion(wc, 60000, 1000, true);
- for (Entry entry : prMetaData.getBucketServerLocationsMap_TEST_ONLY()
- .entrySet()) {
- assertEquals(2, ((List)entry.getValue()).size());
- }
}
}