mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
Revert "integration test: disable flaky test 311"
This reverts commit d1467b67a4.
This commit is contained in:
@@ -3,30 +3,26 @@
|
||||
# shellcheck disable=SC1091
|
||||
. ./config.sh
|
||||
|
||||
start_suite "Test short lived connections between containers, with ebpf connection tracking enabled [DISABLED]"
|
||||
start_suite "Test short lived connections between containers, with ebpf connection tracking enabled"
|
||||
|
||||
weave_on "$HOST1" launch
|
||||
scope_on "$HOST1" launch --probe.ebpf.connections=true
|
||||
weave_on "$HOST1" run -d --name nginx nginx
|
||||
weave_on "$HOST1" run -d --name client alpine /bin/sh -c "while true; do \
|
||||
wget http://nginx.weave.local:80/ -O - >/dev/null || true; \
|
||||
sleep 1; \
|
||||
done"
|
||||
|
||||
## Test disabled: it is currently flaky
|
||||
## https://github.com/weaveworks/scope/issues/2379
|
||||
wait_for_containers "$HOST1" 60 nginx client
|
||||
|
||||
# weave_on "$HOST1" run -d --name nginx nginx
|
||||
# weave_on "$HOST1" run -d --name client alpine /bin/sh -c "while true; do \
|
||||
# wget http://nginx.weave.local:80/ -O - >/dev/null || true; \
|
||||
# sleep 1; \
|
||||
# done"
|
||||
#
|
||||
# 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"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user