Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! remote_address: step 4 e2e integra…
Browse files Browse the repository at this point in the history
…tion test
  • Loading branch information
eguzki committed Oct 17, 2024
1 parent 97b35d5 commit dbcfe9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/remote-address/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ run:
$(DOCKER) compose -f docker-compose.yaml up --detach

test:
curl --silent --output /dev/null --fail --resolve test.example.com:18000:127.0.0.1 -H "X-Forwarded-For: 40.0.0.1" "http://test.example.com:18000"
# curl --silent --output /dev/null --fail --resolve test.example.com:18000:127.0.0.1 -H "X-Forwarded-For: 40.0.0.1" "http://test.example.com:18000"
curl --fail --resolve test.example.com:18000:127.0.0.1 -H "X-Forwarded-For: 40.0.0.1" "http://test.example.com:18000"
curl --silent --output /dev/null --fail --resolve test.example.com:18000:127.0.0.1 -H "X-Forwarded-For: 50.0.0.1" "http://test.example.com:18000"
$(eval TMP := $(shell mktemp -d))
curl --silent --output $(TMP)/counters.json --fail "http://127.0.0.1:18080/counters/ratelimit-source"
Expand Down

0 comments on commit dbcfe9a

Please sign in to comment.