From 79469cf50574297e2da782bbc10d4c1b5ba7ba2b Mon Sep 17 00:00:00 2001 From: Steve Kamerman Date: Mon, 13 Feb 2017 17:14:06 -0500 Subject: [PATCH] Added HAProxy 1.7 and PHP 7.1 functional tests --- tests/resources/haproxy-1.7.cfg | 25 +++++++++++++++++++++++++ tests/resources/run_functional_tests.sh | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 tests/resources/haproxy-1.7.cfg diff --git a/tests/resources/haproxy-1.7.cfg b/tests/resources/haproxy-1.7.cfg new file mode 100644 index 0000000..1e3b500 --- /dev/null +++ b/tests/resources/haproxy-1.7.cfg @@ -0,0 +1,25 @@ +global + node haproxyapi-integration-test + stats socket /tmp/haproxy-stats user root group root mode 700 level admin + user www-data + group www-data + +defaults + mode http + timeout connect 100ms + timeout client 100ms + timeout server 100ms + +frontend unit-testing + bind *:80 + default_backend local-backend + +backend local-backend + server server1 127.0.0.1:8080 + +listen stats + bind *:10010 + stats enable + stats auth testuser:testpass + stats admin if TRUE + stats uri /stats diff --git a/tests/resources/run_functional_tests.sh b/tests/resources/run_functional_tests.sh index be113a4..2550d51 100755 --- a/tests/resources/run_functional_tests.sh +++ b/tests/resources/run_functional_tests.sh @@ -1,8 +1,8 @@ #!/bin/sh -e DIR="$( cd "$( dirname "$0" )" && pwd )" -HAPROXY_VERSIONS="1.4 1.5 1.6" -PHP_VERSIONS="php:5.6-cli php:7.0-cli diegomarangoni/hhvm:cli" +HAPROXY_VERSIONS="1.4 1.5 1.6 1.7" +PHP_VERSIONS="php:5.6-cli php:7.0-cli php:7.1-cli diegomarangoni/hhvm:cli" kill_and_remove() { CONTAINER="$1"