From c2d92181c8659463ca33ad3b9b90fe34cd79ab05 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 16 Jul 2021 13:18:29 +0200 Subject: [PATCH] e2e: fix and simplify handler tests --- e2e/handlers.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e2e/handlers.sh b/e2e/handlers.sh index 0252558..867868d 100644 --- a/e2e/handlers.sh +++ b/e2e/handlers.sh @@ -4,14 +4,13 @@ setup_suite() { # shellcheck disable=SC2016 - _kubectl patch ds -n kube-system kilo -p '{"spec": {"template":{"spec":{"containers":[{"name":"kilo","args":["--hostname=$(NODE_NAME)","--create-interface=false","--kubeconfig=/etc/kubernetes/kubeconfig","--mesh-granularity=full"]}]}}}}' block_until_ready_by_name kube-system kilo-userspace _kubectl wait pod -l app.kubernetes.io/name=adjacency --for=condition=Ready --timeout 3m } test_graph_handler() { assert "curl_pod http://10.4.0.1:1107/graph?format=svg&layout=circo | grep -q '