Loading
test/vhost: Do proper cleanup in shared test suite
Otherwise, in case first fio fails (i.e. the one that is being put into a background job), the error_exit() kills the vhost app, leaving the second fio hanging for indefinite amount of time. Instead, kill it immediately when the trap is raised. Also, simply trap on EXIT, don't overwrite the ERR trap that's set from autotest_common.sh. Change-Id: Icfe851235ff78024b3f288c91e4a2e122502bd4b Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19892 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com>