Skip to content

community/traefik: skip slow tests for s390x and riscv64

Fabricio Silva requested to merge fabricionaweb/aports:traefik/tests into master

attempt to skip the intermittent tests without skipping the whole pipeline, mostly for for s390x and riscv64

--- FAIL: TestScalableHistogram (1.08s)
    metrics_test.go:34: 
        	Error Trace:	github.com/traefik/traefik/v3/pkg/metrics/metrics_test.go:34
        	Error:      	Max difference between 500ms and 577.401107ms allowed is 1.5e+07, but difference was -7.7401107e+07
        	Test:       	TestScalableHistogram
2024/05/15 14:44:06 failed to upload metrics: Post "http://127.0.0.1:43189/v1/metrics": context canceled
FAIL
coverage: 73.4% of statements
FAIL	github.com/traefik/traefik/v3/pkg/metrics	26.522s

--- FAIL: TestRateLimit (0.00s)
    --- FAIL: TestRateLimit/period_below_1_second (2.00s)
        rate_limiter_test.go:329: rate was slower than expected: 153 requests (wanted > 190) in 2.000498001s
    --- FAIL: TestRateLimit/Average_is_respected (2.00s)
        rate_limiter_test.go:329: rate was slower than expected: 162 requests (wanted > 190) in 2.000569813s
    --- FAIL: TestRateLimit/burst_allowed,_no_bursty_traffic (2.00s)
        rate_limiter_test.go:329: rate was slower than expected: 273 requests (wanted > 285) in 2.00068491s
FAIL
coverage: 2.7% of statements
FAIL	github.com/traefik/traefik/v3/pkg/middlewares/ratelimiter	60.192s

Merge request reports

Loading