ctdb-tests: Add timeout for individual tests, default is 10 minutes
authorMartin Schwenke <martin@meltin.net>
Sat, 20 Jan 2018 06:05:37 +0000 (17:05 +1100)
committerStefan Metzmacher <metze@samba.org>
Mon, 12 Feb 2018 10:28:49 +0000 (11:28 +0100)
commite7af9b0baf46e90d63621c709dcc8e85af465f5c
tree5a5c48fed3af8a978ef8a16c8f4f60f894cfdbdc
parent83b2971f002f80f7bbbd098bfe7da70e1b019607
ctdb-tests: Add timeout for individual tests, default is 10 minutes

This will cause a hung test to time out and fail rather than letting a
test run hang indefinitely.  Some tests can take 5 minutes to run, so
10 minutes should be plenty.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit da3aaf972ab5b339b51ba1e802329b69885ccfe4)
ctdb/tests/run_tests.sh