summaryrefslogtreecommitdiff
path: root/ctdb/tests/eventscripts/60.nfs.monitor.103.sh
blob: 2bf44f0efa988424d5620224a6652d7adeea9753 (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
nfs_setup_fake_threads "nfsd" 1 2 3 4 5

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

simple_test