summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/60.nfs.monitor.132.sh
blob: b8f3f2b0411cf985cf5459c197218c7fe7f25aa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "rquotad down, 5 iterations, back up after 1"

# rquotad fails once but then comes back of its own accord after 1
# failure.

setup_nfs
rpc_services_down "rquotad"

iterate_test 5 'ok_null' \
    1 'rpc_set_service_failure_response "rquotad"' \
    2 'rpc_services_up "rquotad"'