Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions zstd/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ export NAME=zstd
. "$(dirname "${BASH_SOURCE[0]}")/../verify-common.sh"

run_log "Test service: localhost:${PORT_PROXY}/file.json with compression"
responds_with_header \
"content-encoding: zstd" \
"https://localhost:${PORT_PROXY}/file.json" \
-ki -H "Accept-Encoding: zstd"
# envoy-stats has no healthcheck, so `up --wait` can return before it is listening.
wait_for 15 bash -c "\
responds_with_header \
'content-encoding: zstd' \
https://localhost:${PORT_PROXY}/file.json -ki -H 'Accept-Encoding: zstd'"

run_log "Test service: localhost:${PORT_PROXY}/file.txt without compression"
responds_without_header \
Expand Down
Loading