ctdb-daemon: Do not allow database detach if AllowClientDBAttach=1
[Samba.git] / ctdb / tests / eventscripts / 60.nfs.monitor.152.sh
blobc4eb4194ae2bb8c5cd76ef2ef59b142333988745
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "mountd down, 10 iterations"
7 # This simulates an ongoing failure in the eventscript's automated
8 # attempts to restart the service. That is, the eventscript is unable
9 # to restart the service.
11 setup_nfs
12 rpc_services_down "mountd"
14 iterate_test 10 "ok_null" \
15 5 "rpc_set_service_failure_response 'mountd'" \
16 10 "rpc_set_service_failure_response 'mountd'"
18 #export FAKE_NETSTAT_TCP_ESTABLISHED="10.0.0.1:2049|10.254.254.1:12301 10.0.0.1:2049|10.254.254.1:12302 10.0.0.1:2049|10.254.254.1:12303 10.0.0.1:2049|10.254.254.2:12304 10.0.0.1:2049|10.254.254.2:12305"