mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
6f3ee81d17
Change status, nlockmgr, mountd, rquotad to be unhealthy after 6 rpcinfo check failures and do a verbose restart after every 2 failures. Change 60.ganesha for consistency, since 60.ganesha tests are broken and depend on the consistency. Apart from the consistency aspect, the check infrastructure will soon be simplified so that it only allows the equivalent of "unhealthy" and "verbose restart:b" actions. Update tests to have a corresponding numbers of iterations. Run 1 extra iteration in most tests to check there are no unexpected behaviour changes after the designated number of iterations completes. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
15 lines
342 B
Bash
Executable File
15 lines
342 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "mountd down, 7 iterations, back up after 2"
|
|
|
|
setup_nfs
|
|
rpc_services_down "mountd"
|
|
|
|
# Iteration 2 should try to restart rpc.mountd. However, our test
|
|
# stub rpc.mountd does nothing, so we have to explicitly flag it as
|
|
# up.
|
|
nfs_iterate_test 7 "mountd" \
|
|
3 "rpc_services_up mountd"
|