Browse Source

Fix default value for standalone tests (#6043)

pull/6048/head
Florian Ruynat 4 years ago
committed by GitHub
parent
commit
a468954519
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. 6
      tests/testcases/040_check-network-adv.yml

6
tests/testcases/040_check-network-adv.yml

@ -4,8 +4,8 @@
- name: Test tunl0 routes
shell: "! /sbin/ip ro | grep '/26 via' | grep -v tunl0"
when:
- (ipip|default(false) or cloud_provider is defined)
- kube_network_plugin == 'calico'
- (ipip|default(true) or cloud_provider is defined)
- kube_network_plugin|default('calico') == 'calico'
- hosts: k8s-cluster
vars:
@ -18,7 +18,7 @@
shell: "ethtool --offload flannel.1 rx off tx off"
ignore_errors: true
when:
- kube_network_plugin == 'flannel'
- kube_network_plugin|default('calico') == 'flannel'
- name: Force binaries directory for Container Linux by CoreOS and Flatcar
set_fact:

Loading…
Cancel
Save