mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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
319 B
Bash
Executable File
15 lines
319 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "lockd down, 7 iterations"
|
|
|
|
# This simulates an ongoing failure in the eventscript's automated
|
|
# attempts to restart the service. That is, the eventscript is unable
|
|
# to restart the service.
|
|
|
|
setup_nfs
|
|
rpc_services_down "nlockmgr"
|
|
|
|
nfs_iterate_test 7 "nlockmgr"
|