mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
5c7cd209cb
... instead of iterate_test() Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
16 lines
353 B
Bash
Executable File
16 lines
353 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "knfsd down, 10 iterations, dump 5 threads, 3 hung"
|
|
|
|
# knfsd fails and attempts to restart it fail.
|
|
setup_nfs
|
|
rpc_services_down "nfs"
|
|
|
|
# Additionally, any hung threads should have stack traces dumped.
|
|
CTDB_NFS_DUMP_STUCK_THREADS=5
|
|
FAKE_NFSD_THREAD_PIDS="1001 1002 1003"
|
|
|
|
nfs_iterate_test 10 "nfs"
|