From b2e6b97aa8089423c0f6623375d260ac62379708 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Wed, 31 May 2017 15:10:52 +0000 Subject: [PATCH] Fix ebpf-connection checking --- integration/310_container_to_container_edge_test.sh | 5 +++++ .../311_container_to_container_edge_without_ebpf_test.sh | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/integration/310_container_to_container_edge_test.sh b/integration/310_container_to_container_edge_test.sh index bb67b9fd0..e40d86f4c 100755 --- a/integration/310_container_to_container_edge_test.sh +++ b/integration/310_container_to_container_edge_test.sh @@ -17,6 +17,11 @@ wait_for_containers "$HOST1" 60 nginx client has_container "$HOST1" nginx has_container "$HOST1" client + +list_containers "$HOST1" +list_connections "$HOST1" + has_connection containers "$HOST1" client nginx +endpoints_have_ebpf "$HOST1" scope_end_suite diff --git a/integration/311_container_to_container_edge_without_ebpf_test.sh b/integration/311_container_to_container_edge_without_ebpf_test.sh index 54c954d18..c3190ad5a 100755 --- a/integration/311_container_to_container_edge_without_ebpf_test.sh +++ b/integration/311_container_to_container_edge_without_ebpf_test.sh @@ -3,7 +3,7 @@ # shellcheck disable=SC1091 . ./config.sh -start_suite "Test short lived connections between containers, without ebpf connection tracking enabled" +start_suite "Test short lived connections between containers, without ebpf connection tracking disabled" weave_on "$HOST1" launch scope_on "$HOST1" launch --probe.ebpf.connections=false @@ -23,6 +23,4 @@ list_connections "$HOST1" has_connection containers "$HOST1" client nginx -endpoints_have_ebpf "$HOST1" - scope_end_suite