summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/eventscripts/60.nfs.monitor.141.sh
blob: c77b1a7b052c73f80a763d91ff0cbda484c09f35 (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 "statd down, 6 iterations"

# statd fails and attempts to restart it fail.

setup_nfs
rpc_services_down "status"

iterate_test 6 'ok_null' \
    2 'rpc_set_service_failure_response "statd"' \
    4 'rpc_set_service_failure_response "statd"' \
    6 'rpc_set_service_failure_response "statd"'