Skip to content

v0.17.2

Choose a tag to compare

@zalando-robot zalando-robot released this 10 Aug 22:12
91851ea

Changes

predicates/traffic: speedup TrafficSegment tests (#2509)
TrafficSegment tests perform 10k test requests per test case.
Add inlineContent("") to test routes to have Content-Length: 0
response header that disables chunked encoding and speeds up the tests.
Before:

go test ./predicates/traffic/ -count=1 -run=TestTrafficSegment
ok      github.com/zalando/skipper/predicates/traffic   8.928s

After:

go test ./predicates/traffic/ -count=1 -run=TestTrafficSegment
ok      github.com/zalando/skipper/predicates/traffic   4.285s

To further speedup make test requests in parallel:

go test ./predicates/traffic/ -count=1 -run=TestTrafficSegment
ok      github.com/zalando/skipper/predicates/traffic   1.554s

See related #2459 #1562

Docker image

Docker image is available in Zalando's Open Source registry:

docker run -it registry.opensource.zalan.do/teapot/skipper:v0.17.2 skipper --help
# arm64
docker run -it registry.opensource.zalan.do/teapot/skipper-arm64:v0.17.2 skipper --help
# arm v7 32bit
docker run -it registry.opensource.zalan.do/teapot/skipper-armv7:v0.17.2 skipper --help