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

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "statd down, 2 iterations, stuck process"

# statd fails and the first attempt to restart it succeeds.

setup

rpc_services_down "status"
nfs_setup_fake_threads "rpc.status" 1001

nfs_iterate_test 2 "status"