Skip to content

Test flake on TestDedupeRepos #30573

@AustinAbro321

Description

@AustinAbro321

Reproducible steps -

  1. clone main
  2. cd pkg/downloads
  3. go test -run TestDedupeRepos -count=1 <- this should pass
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/helm-testbugCategorizes issue or PR as related to a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions