GEODE-430 CI failure Race condition in the test. I added a slight delay to let the client finish refilling its pool of connections
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/8b6d8f25 Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/8b6d8f25 Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/8b6d8f25 Branch: refs/heads/feature/GEODE-715 Commit: 8b6d8f255e26c29f596f82b18c85ba1c5a4bb01f Parents: a69a0dc Author: Bruce Schuchardt <bschucha...@pivotal.io> Authored: Tue Jan 5 16:11:39 2016 -0800 Committer: Bruce Schuchardt <bschucha...@pivotal.io> Committed: Tue Jan 5 16:12:50 2016 -0800 ---------------------------------------------------------------------- .../internal/cache/tier/sockets/UpdatePropagationDUnitTest.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8b6d8f25/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/UpdatePropagationDUnitTest.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/UpdatePropagationDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/UpdatePropagationDUnitTest.java index f64b9b8..34ea3a6 100644 --- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/UpdatePropagationDUnitTest.java +++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/UpdatePropagationDUnitTest.java @@ -372,6 +372,8 @@ public class UpdatePropagationDUnitTest extends DistributedTestCase DistributedTestCase.waitForCriterion(ev, maxWaitTime, 200, true); } }); + + pause(5000); //Do a put on Server1 via Connection object from client1. // Client1 should not receive updated value while client2 should receive