mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-09-02 20:28:50 +02:00
🔥 e2e: drop the comment above wait_for_status
The timeout change in 3f78887 stands; only the comment goes.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -76,8 +76,6 @@ ensure_mock() {
|
||||
}
|
||||
|
||||
# Poll a URL until it returns the expected status code, or fail.
|
||||
# The tight -m is free here: a timed out request is just another attempt. The one shot
|
||||
# assertions below use a larger one, where a single slow response fails the test.
|
||||
# Usage: wait_for_status URL CODE [TIMEOUT_SECONDS] [curl args...]
|
||||
wait_for_status() {
|
||||
local url="$1" expected="$2" timeout="${3:-15}"
|
||||
|
||||
Reference in New Issue
Block a user