Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default value for standalone tests #6043

Merged
merged 1 commit into from
Apr 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/testcases/040_check-network-adv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down