Use host networking for gitea
Change-Id: If706c6f85022919add93e46eeb6eae1b6d948d75
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user