summaryrefslogtreecommitdiffstats
path: root/tests/testserver/docker-compose-for-macOS.yml
diff options
context:
space:
mode:
authorRyan Chu <ryan.chu@qt.io>2019-01-25 22:48:29 +0100
committerLiang Qi <liang.qi@qt.io>2019-01-28 14:03:34 +0000
commit71cd5a6f3643a5369b883d0e36478693de6db024 (patch)
treeec3be7c85ddb8736ca23b9249047b2b6f518787a /tests/testserver/docker-compose-for-macOS.yml
parentd8d60696da8bbb168ac4554b51c96ea244e407b8 (diff)
Select single-name SSL certificate for test servers using host network
On Windows and macOS, the containers are deployed into a virtual machine using the host network. All the containers share the same hostname (qt-test-server), and they are connected to the same network domain (local). When running test in such platforms, use the single-name SSL certificate (qt-test-server.local) for SSL related tests. Change-Id: Idf33e01e8dd8814510d848b87b59b5fc0edc903e Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'tests/testserver/docker-compose-for-macOS.yml')
-rw-r--r--tests/testserver/docker-compose-for-macOS.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testserver/docker-compose-for-macOS.yml b/tests/testserver/docker-compose-for-macOS.yml
index bbd1f71a62..aa610dfb88 100644
--- a/tests/testserver/docker-compose-for-macOS.yml
+++ b/tests/testserver/docker-compose-for-macOS.yml
@@ -25,6 +25,7 @@ services:
- "qt-test-server.${TEST_DOMAIN}:${MACHINE_IP}"
environment:
- test_domain=${TEST_DOMAIN}
+ - test_cert="qt-test-server-host-network-cacert.pem"
squid:
image: qt-test-server-squid:9c32f41b19aca3d778733c4d8fb0ecc5955e893c