|
|
|
@ -25,3 +25,12 @@ def test_etherpad_robots(host):
|
|
|
|
|
'--resolve etherpad.opendev.org:443:127.0.0.1 '
|
|
|
|
|
'https://etherpad.opendev.org/robots.txt')
|
|
|
|
|
assert 'Disallow: /' in cmd.stdout
|
|
|
|
|
|
|
|
|
|
def test_etherpad_logs(host):
|
|
|
|
|
etherpad_log_file = host.file('/var/log/containers/docker-etherpad.log')
|
|
|
|
|
assert etherpad_log_file.exists
|
|
|
|
|
assert etherpad_log_file.contains('Etherpad is running')
|
|
|
|
|
|
|
|
|
|
mariadb_log_file = host.file('/var/log/containers/docker-mariadb.log')
|
|
|
|
|
assert mariadb_log_file.exists
|
|
|
|
|
assert mariadb_log_file.contains('mysqld: ready for connections')
|
|
|
|
|