diff --git a/molecule/ec2-centos-7/tests/test_default.py b/molecule/ec2-centos-7/tests/test_default.py index 4b263bd..cda4ab7 100644 --- a/molecule/ec2-centos-7/tests/test_default.py +++ b/molecule/ec2-centos-7/tests/test_default.py @@ -22,4 +22,4 @@ def test_postgres_running_and_enabled(host): def test_postgres_socket(host): # Verify the socket is listening for HTTP traffic - assert host.socket("tcp://0.0.0.0:5432").is_listening + assert host.socket("tcp://127.0.0.1:5432").is_listening