]> git.ipfire.org Git - thirdparty/ccache.git/commit
Make secondary_http and secondary_redis tests independent
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 11 Jul 2021 19:51:49 +0000 (21:51 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 12 Jul 2021 20:42:42 +0000 (22:42 +0200)
commit82e3ff02731d2e981160405debcdecc6e352be63
tree1cae1f44fea87dd36ab33e5e7260218ceb8af44e
parent55813b4e07a623dd44602a14ef89e4457e1609c3
Make secondary_http and secondary_redis tests independent

Instead of starting an HTTP or Redis server that lives for the duration
of the test suite, start a new one for each test case. This makes tests
more independent and also opens up for future testing of e.g. different
ports and authentication modes by allowing different server
configurations for each test case.
test/run
test/suites/secondary_http.bash
test/suites/secondary_redis.bash