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 3e7c06f capture proxy logs
3e7c06f is described below
commit 3e7c06fac1205acb5e3a0dc489c7b61895b97d7d
Author: Bill Burcham <[email protected]>
AuthorDate: Mon Jun 1 15:26:47 2020 -0700
capture proxy logs
---
.../src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
index c5ab734..c441eae 100644
---
a/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
+++
b/geode-benchmarks/src/main/java/org/apache/geode/benchmark/tasks/StopSniProxy.java
@@ -26,12 +26,14 @@ import org.apache.geode.perftest.TestContext;
public class StopSniProxy implements Task {
public static final String STOP_PROXY_COMMAND = "docker-compose down";
+ public static final String CAPTURE_PROXY_LOG = "docker-compose logs haproxy
> haproxy.log";
public StopSniProxy() {}
@Override
public void run(TestContext context) throws Exception {
final ProcessControl processControl = new ProcessControl();
+ processControl.runCommand(CAPTURE_PROXY_LOG);
processControl.runCommand(STOP_PROXY_COMMAND);
}