Commit Graph

16 Commits (7682b4fa7f689bac8f85bb09cf4993b94851c240)

Author SHA1 Message Date
Dimitri Huisman 3493e9ffa9 Doh!
Dimitri Huisman 867c71ca83 Fix date (deadline) calculation and comparison in test.py
Dimitri Huisman 9339ce78e8 Fix datetime usage in test.py
Florent Daigniere 72b8939ad7 doh
Florent Daigniere 630a23da3c Don't wait for the timeout in the tests
If the containers are ready use them.
Ionut Filip 4032e7128d Calling email test as hook with msg as arg
Ionut Filip fca3dc4e70 Flushing stream before calling subprocess
Ionut Filip 9a7fc1416a Replaces os.popen with subprocess.check_output
Ionut Filip 982e586e49 Replaced os.system calls with native python calls
Ionut Filip fd8ed3dfa6 Moved certs copy in travis
Ionut Filip 88f5e6e4cf Moved users creation in core
Ionut Filip c3bc7988c9 Implemented email test for travis
Ionut Filip 4e9dc0c3c9 Implemented sending/reading email(local tests)
Tim Möhlmann a46d0fe581
Fix path for hooks
Tim Möhlmann dde7ccca97
Created test cases from latest setup revision
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