Use host networking for gitea

Change-Id: If706c6f85022919add93e46eeb6eae1b6d948d75
This commit is contained in:
James E. Blair
2019-02-15 15:59:26 -08:00
parent f74ff2bdb7
commit 480c7ebe37
4 changed files with 12 additions and 15 deletions

View File

@@ -17,9 +17,9 @@ testinfra_hosts = ['gitea01.opendev.org']
def test_gitea_listening(host):
gitea_https = host.socket("tcp://0.0.0.0:443")
gitea_https = host.socket("tcp://0.0.0.0:3000")
assert gitea_https.is_listening
gitea_http = host.socket("tcp://0.0.0.0:80")
gitea_http = host.socket("tcp://0.0.0.0:3080")
assert gitea_http.is_listening
gitea_ssh = host.socket("tcp://0.0.0.0:222")
assert gitea_ssh.is_listening