Florent Daigniere
8b502b73ee
Update tests/compose/test.py
...
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2 years ago
Florent Daigniere
8d8f753796
Update tests/compose/test.py
...
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2 years ago
Florent Daigniere
bb5d007882
s/docker\-compose\([^\.]\)/docker compose\1/g
2 years ago
Dimitri Huisman
3493e9ffa9
Doh!
2 years ago
Dimitri Huisman
867c71ca83
Fix date (deadline) calculation and comparison in test.py
2 years ago
Dimitri Huisman
9339ce78e8
Fix datetime usage in test.py
2 years ago
Florent Daigniere
72b8939ad7
doh
2 years ago
Florent Daigniere
630a23da3c
Don't wait for the timeout in the tests
...
If the containers are ready use them.
2 years ago
Ionut Filip
4032e7128d
Calling email test as hook with msg as arg
6 years ago
Ionut Filip
fca3dc4e70
Flushing stream before calling subprocess
6 years ago
Ionut Filip
9a7fc1416a
Replaces os.popen with subprocess.check_output
6 years ago
Ionut Filip
982e586e49
Replaced os.system calls with native python calls
6 years ago
Ionut Filip
fd8ed3dfa6
Moved certs copy in travis
6 years ago
Ionut Filip
88f5e6e4cf
Moved users creation in core
6 years ago
Ionut Filip
c3bc7988c9
Implemented email test for travis
6 years ago
Ionut Filip
4e9dc0c3c9
Implemented sending/reading email(local tests)
6 years ago
Tim Möhlmann
a46d0fe581
Fix path for hooks
6 years ago
Tim Möhlmann
dde7ccca97
Created test cases from latest setup revision
6 years ago
Ionut Filip
3b1fdc6166
Migrate test script from shell to python
...
- test.py needs to be called with 2 arguments : test_name and timeout
- it will cd to test_name dir and use the test_name.yml from there
- it will sleep for an amount of time equals to timeout in minutes
- it will perform health checks for containers. If healtcheck isn't enabled will check for running state
- it will run hooks inside the test_name dir ( .py and .sh) if there are any
- printing logs in any case
6 years ago