mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(ci): Simulate latency for performance tests (#8726)
Based on recent findings concerning throughput dropoff with increased latency, it would be a good idea to add a small amount of latency to our performance test suite to make sure we catch any latency-sensitive regressions. Related: https://github.com/firezone/firezone/issues/8699 --------- Signed-off-by: Jamil <jamilbk@users.noreply.github.com> Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -183,6 +183,12 @@ jobs:
|
||||
docker compose up -d relay-1 relay-2 --no-build
|
||||
docker compose up -d gateway --no-build
|
||||
docker compose up -d client --no-build
|
||||
- name: Add 10ms simulated latency
|
||||
run: |
|
||||
docker compose exec -d client tc qdisc add dev eth0 root netem delay 10ms
|
||||
docker compose exec -d gateway tc qdisc add dev eth0 root netem delay 10ms
|
||||
docker compose exec -d relay-1 tc qdisc add dev eth0 root netem delay 10ms
|
||||
docker compose exec -d relay-2 tc qdisc add dev eth0 root netem delay 10ms
|
||||
- name: "Performance test: ${{ matrix.test_name }}"
|
||||
timeout-minutes: 5
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user