|
@@ -13,7 +13,8 @@ clientImage='buildpack-deps:stretch-curl'
|
|
|
|
|
|
|
|
# Create an instance of the container-under-test
|
|
# Create an instance of the container-under-test
|
|
|
# (explicitly setting a low memory limit since the image defaults to 2GB)
|
|
# (explicitly setting a low memory limit since the image defaults to 2GB)
|
|
|
-cid="$(docker run -d -e ES_JAVA_OPTS='-Xms128m -Xmx128m' "$image")"
|
|
|
|
|
|
|
+# (disable "bootstrap checks" by setting discovery.type option)
|
|
|
|
|
+cid="$(docker run -d -e ES_JAVA_OPTS='-Xms128m -Xmx128m' -e discovery.type=single-node "$image")"
|
|
|
trap "docker rm -vf $cid > /dev/null" EXIT
|
|
trap "docker rm -vf $cid > /dev/null" EXIT
|
|
|
|
|
|
|
|
_request() {
|
|
_request() {
|