ci: don't ping gateway before running perf (#3649)

Running perf byitself should be enough to establish a connection, we
don't need to explicitly do that before.

Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
This commit is contained in:
Thomas Eizinger
2024-02-15 12:41:50 +11:00
committed by GitHub
parent 23e89c7290
commit a2099599ad

View File

@@ -235,19 +235,13 @@ jobs:
include:
- test_name: direct-perf
setup: echo 'Noop'
execute: |
# Establish a channel
docker compose exec -it client timeout 60 \
sh -c 'until ping -W 1 -c 1 172.20.0.100 &>/dev/null; do true; done'
execute: echo 'Noop'
- test_name: relayed-perf
setup: |
# Disallow traffic between gateway and client container
sudo iptables -I FORWARD 1 -s 172.28.0.100 -d 172.28.0.105 -j DROP
sudo iptables -I FORWARD 1 -s 172.28.0.105 -d 172.28.0.100 -j DROP
execute: |
# Establish a channel
docker compose exec -it client timeout 60 \
sh -c 'until ping -W 1 -c 1 172.20.0.100 &>/dev/null; do true; done'
execute: echo 'Noop'
steps:
- uses: actions/checkout@v4