mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 23:09:37 +00:00
Correctly track conformance test pids
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -543,15 +543,14 @@ run-go-test() {
|
||||
fi
|
||||
|
||||
go test -timeout=45m -v "$@" &
|
||||
pids+=($!)
|
||||
|
||||
if [ "$LABEL" ]; then
|
||||
# Reset LABEL and restore stdout and stderr
|
||||
unset "LABEL"
|
||||
exec 1>&3 2>&4
|
||||
exec 3>&- 4>&-
|
||||
fi
|
||||
|
||||
pids+=($!)
|
||||
fi
|
||||
}
|
||||
export -f run-go-test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user