test:increase the json_config.sh shutdown app timeout value
In some situation, the script needs to try more times to kill spdk_tgt. So increase the loop count. Change-Id: I5c3596b0bae8ee965bb0b3532ba100dfd0aec82d Signed-off-by: Liang Yan <liang.z.yan@intel.com> Reviewed-on: https://review.gerrithub.io/c/445436 (master) Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447453 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
0640d3fca5
commit
1e0e636351
@ -80,7 +80,7 @@ function json_config_test_shutdown_app() {
|
|||||||
# kill_instance RPC will trigger ASAN
|
# kill_instance RPC will trigger ASAN
|
||||||
kill -SIGINT ${app_pid[$app]}
|
kill -SIGINT ${app_pid[$app]}
|
||||||
|
|
||||||
for (( i=0; i<10; i++ )); do
|
for (( i=0; i<30; i++ )); do
|
||||||
if ! kill -0 ${app_pid[$app]} 2>/dev/null; then
|
if ! kill -0 ${app_pid[$app]} 2>/dev/null; then
|
||||||
app_pid[$app]=
|
app_pid[$app]=
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user