]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: be more generous with mon tests timeouts
authorLoic Dachary <ldachary@redhat.com>
Wed, 12 Aug 2015 12:59:01 +0000 (14:59 +0200)
committerLoic Dachary <ldachary@redhat.com>
Wed, 12 Aug 2015 14:59:29 +0000 (16:59 +0200)
commitb78883b18868d6325cbdfb9c80f833015187b90a
tree3a276d870e6616ce0da5627160f2dc1829291e22
parentd8d6bb898d976a479c33baebcd4ade0ef120a18e
tests: be more generous with mon tests timeouts

Change the timeouts of the TEST_mon_add_to_single_mon tests to be 120
seconds. They have value to guard against blocking forever. The exact
timing does not matter as long as the operation completes.

When a timeout is too short, it will create false negatives when running
on slow machines. It could be argued that being too generous with
timeout in general may hide problems. But not in this specific case.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/mon/misc.sh