mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 00:39:30 +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
|
fi
|
||||||
|
|
||||||
go test -timeout=45m -v "$@" &
|
go test -timeout=45m -v "$@" &
|
||||||
|
pids+=($!)
|
||||||
|
|
||||||
if [ "$LABEL" ]; then
|
if [ "$LABEL" ]; then
|
||||||
# Reset LABEL and restore stdout and stderr
|
# Reset LABEL and restore stdout and stderr
|
||||||
unset "LABEL"
|
unset "LABEL"
|
||||||
exec 1>&3 2>&4
|
exec 1>&3 2>&4
|
||||||
exec 3>&- 4>&-
|
exec 3>&- 4>&-
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pids+=($!)
|
|
||||||
}
|
}
|
||||||
export -f run-go-test
|
export -f run-go-test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user