Reproducible steps -
- clone main
- cd
pkg/downloads
go test -run TestDedupeRepos -count=1 <- this should pass
go test -run TestDedupeRepos -count=100 <- this fails pass
Seeing this flake on PR #13617, I have not looked into the cause at all
--- FAIL: TestDedupeRepos (0.00s)
--- FAIL: TestDedupeRepos/no_duplicates (0.00s)
manager_test.go:661: received:
[{"name":"","url":"https://example.com/charts2","username":"","password":"","certFile":"","keyFile":"","caFile":"","insecure_skip_tls_verify":false,"pass_credentials_all":false} {"name":"","url":"https://example.com/charts","username":"","password":"","certFile":"","keyFile":"","caFile":"","insecure_skip_tls_verify":false,"pass_credentials_all":false}]
want:
[{"name":"","url":"https://example.com/charts","username":"","password":"","certFile":"","keyFile":"","caFile":"","insecure_skip_tls_verify":false,"pass_credentials_all":false} {"name":"","url":"https://example.com/charts2","username":"","password":"","certFile":"","keyFile":"","caFile":"","insecure_skip_tls_verify":false,"pass_credentials_all":false}]
---... happens more...---
--- FAIL: TestDedupeRepos (0.00s)
--- FAIL: TestDedupeRepos/no_duplicates (0.00s)
manager_test.go:661: received:
<same-output-again>
FAIL
exit status 1
Reproducible steps -
pkg/downloadsgo test -run TestDedupeRepos -count=1<- this should passgo test -run TestDedupeRepos -count=100<- this fails passSeeing this flake on PR #13617, I have not looked into the cause at all