You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bu...@apache.org on 2020/06/02 22:16:35 UTC
[geode-benchmarks] branch sni updated: StopClient sleeps 20s before
returning
This is an automated email from the ASF dual-hosted git repository.
burcham pushed a commit to branch sni
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/sni by this push:
new a2ef9a7 StopClient sleeps 20s before returning
a2ef9a7 is described below
commit a2ef9a7c233273cfe43ac15924e87be1574b9370
Author: Bill Burcham <bb...@pivotal.io>
AuthorDate: Tue Jun 2 15:15:57 2020 -0700
StopClient sleeps 20s before returning
---
.../src/main/java/org/apache/geode/benchmark/tasks/StopClient.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopClient.java b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopClient.java
index cf23538..b43287e 100644
--- a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopClient.java
+++ b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopClient.java
@@ -41,6 +41,7 @@ public class StopClient implements Task {
public void run(TestContext context) throws Exception {
ClientCache cache = ClientCacheFactory.getAnyInstance();
cache.close();
+ Thread.sleep(20_000);
}
}