You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2020/05/26 21:35:04 UTC
[geode] 01/02: modified SocketCreator to look for a hostname if one
is not present and endpoint verification is enabled
This is an automated email from the ASF dual-hosted git repository.
bschuchardt pushed a commit to branch feature/GEODE-8144
in repository https://gitbox.apache.org/repos/asf/geode.git
commit 9ffff890203df763cac3651eaccab9938708073b
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Thu May 21 14:16:11 2020 -0700
modified SocketCreator to look for a hostname if one is not present and endpoint verification is enabled
This fixes some problems when running in docker containers
---
.../org/apache/geode/client/sni/scripts/cleandocker.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/geode-assembly/src/acceptanceTest/resources/org/apache/geode/client/sni/scripts/cleandocker.sh b/geode-assembly/src/acceptanceTest/resources/org/apache/geode/client/sni/scripts/cleandocker.sh
new file mode 100755
index 0000000..2d84de5
--- /dev/null
+++ b/geode-assembly/src/acceptanceTest/resources/org/apache/geode/client/sni/scripts/cleandocker.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+# use this script to get rid of containers when test execution in gradle leaves them
+# up, or when you've created the containers for command-line debugging, as in...
+
+# in the sni directory, use
+# docker-compose up
+# then use this to rsh to the container
+# docker-compose exec geode sh
+
+docker kill haproxy geode
+docker rm haproxy geode