Update critools and run critest in parallel.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
ad04781e3e
commit
4c903c356b
@ -73,7 +73,7 @@ script:
|
||||
- if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration ; fi
|
||||
- if [ "$GOOS" = "linux" ]; then
|
||||
sudo PATH=$PATH containerd -log-level debug &> /tmp/containerd-cri.log &
|
||||
sudo PATH=$PATH GOPATH=$GOPATH critest --runtime-endpoint=/var/run/containerd/containerd.sock validation ;
|
||||
sudo PATH=$PATH GOPATH=$GOPATH critest --runtime-endpoint=/var/run/containerd/containerd.sock --ginkgo-flags=--nodes=8 validation ;
|
||||
exit_code=$? ;
|
||||
test $exit_code -ne 0 && cat /tmp/containerd-cri.log ;
|
||||
sudo pkill containerd ;
|
||||
|
@ -5,7 +5,7 @@
|
||||
#
|
||||
set -eu -o pipefail
|
||||
|
||||
CRITEST_COMMIT=240a840375cdabb5860c75c99e8b0d0a776006b4
|
||||
CRITEST_COMMIT=b184f9aefe60a4441330e615ee20634ee26474fb
|
||||
go get -d github.com/kubernetes-incubator/cri-tools/...
|
||||
cd $GOPATH/src/github.com/kubernetes-incubator/cri-tools
|
||||
git checkout $CRITEST_COMMIT
|
||||
|
Loading…
Reference in New Issue
Block a user