From 95ac8d29fab35b3fc50b20385c3a43f1891cf995 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 Mar 2019 14:09:00 +0100 Subject: [PATCH] test socket against localhost --- molecule/gce-centos-7/tests/test_default.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/molecule/gce-centos-7/tests/test_default.py b/molecule/gce-centos-7/tests/test_default.py index 81e55e1..083c19f 100644 --- a/molecule/gce-centos-7/tests/test_default.py +++ b/molecule/gce-centos-7/tests/test_default.py @@ -26,5 +26,5 @@ def test_nginx_process(host): def test_nginx_socket(host): # Verify the socket is listening for HTTP traffic - assert host.socket("tcp://0.0.0.0:80").is_listening - assert host.socket("tcp://0.0.0.0:443").is_listening + assert host.socket("tcp://127.0.0.1:80").is_listening + assert host.socket("tcp://127.0.0.1:443").is_listening