summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/60.nfs.monitor.103.sh
blob: 75d7291fb8587f529abf1d3da84b262c3e345b7e (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 "all services available, check nfsd thread count, not enough threads"

setup_nfs

CTDB_MONITOR_NFS_THREAD_COUNT="yes"
RPCNFSDCOUNT=8
FAKE_NFSD_THREAD_PIDS="1 2 3 4 5"

ok "Attempting to correct number of nfsd threads from 5 to 8"

simple_test