Merge pull request #865 from runcom/fix-ci

contrib: test: run kube tests in CI with same cgroup driver
This commit is contained in:
Mrunal Patel 2017-09-08 07:24:09 -07:00 committed by GitHub
commit f9387aca28
2 changed files with 2 additions and 2 deletions

View file

@ -409,7 +409,7 @@
poll: 10 poll: 10
- name: run k8s tests - name: run k8s tests
shell: | shell: |
make test-e2e-node PARALLELISM=1 RUNTIME=remote CONTAINER_RUNTIME_ENDPOINT=/var/run/crio.sock IMAGE_SERVICE_ENDPOINT=/var/run/crio.sock TEST_ARGS="--prepull-images=true" FOCUS="\[Conformance\]" 2>&1 > node-e2e.log make test-e2e-node PARALLELISM=1 RUNTIME=remote CONTAINER_RUNTIME_ENDPOINT=/var/run/crio.sock IMAGE_SERVICE_ENDPOINT=/var/run/crio.sock TEST_ARGS='--prepull-images=true --kubelet-flags="--cgroup-driver=systemd"' FOCUS="\[Conformance\]" 2>&1 > node-e2e.log
args: args:
chdir: /root/src/k8s.io/kubernetes chdir: /root/src/k8s.io/kubernetes
async: 7200 async: 7200

View file

@ -719,7 +719,7 @@ function teardown() {
echo "$output" echo "$output"
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
# Wait for container to OOM # Wait for container to OOM
run sleep 10 run sleep 100
run crioctl ctr status --id "$ctr_id" run crioctl ctr status --id "$ctr_id"
echo "$output" echo "$output"
[ "$status" -eq 0 ] [ "$status" -eq 0 ]