Fix ebpf-connection checking

This commit is contained in:
Alfonso Acosta
2017-05-31 15:10:52 +00:00
parent 71e035665b
commit b2e6b97aa8
2 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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