geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hiteshkhame...@apache.org
Subject [1/2] incubator-geode git commit: GEODE-452:We don't send client close response from server thus we need to wait for client termination before validating the HAStatsCleanup.
Date Fri, 08 Jan 2016 00:18:49 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop a097fcf32 -> fc18163f1


GEODE-452:We don't send client close response from server thus we need to
wait for client termination before validating the HAStatsCleanup.


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

Branch: refs/heads/develop
Commit: fc18163f164b06eb83744c6c54c957ff55e8df91
Parents: 531b8aa
Author: Hitesh Khamesra <hkhamesra@pivotal.io>
Authored: Thu Jan 7 16:10:19 2016 -0800
Committer: Hitesh Khamesra <hkhamesra@pivotal.io>
Committed: Thu Jan 7 16:12:51 2016 -0800

----------------------------------------------------------------------
 .../gemfire/internal/cache/tier/sockets/Bug37210DUnitTest.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fc18163f/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/Bug37210DUnitTest.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/Bug37210DUnitTest.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/Bug37210DUnitTest.java
index 0545cd7..69f4142 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/Bug37210DUnitTest.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/internal/cache/tier/sockets/Bug37210DUnitTest.java
@@ -155,6 +155,8 @@ public class Bug37210DUnitTest extends DistributedTestCase
     server.invoke(Bug37210DUnitTest.class,
         "closeCacheClientProxyAndVerifyStats");
     client.invoke(Bug37210DUnitTest.class, "closeCache");
+  //we don't send close response thus needs to wait for client termination
+    Thread.currentThread().sleep(1000);
     server.invoke(Bug37210DUnitTest.class,
             "closeCacheClientProxyAndVerifyStats2");
     getLogWriter().info("testHAStatsCleanup : END");


Mime
View raw message