From a4689545191e07e0982881cc9e4b65d317911057 Mon Sep 17 00:00:00 2001 From: Florian Ruynat Date: Wed, 29 Apr 2020 15:34:24 +0200 Subject: [PATCH] Fix default value for standalone tests (#6043) --- tests/testcases/040_check-network-adv.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testcases/040_check-network-adv.yml b/tests/testcases/040_check-network-adv.yml index 9818ef38d..68dfb4a77 100644 --- a/tests/testcases/040_check-network-adv.yml +++ b/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: