replicatedhq / outdated

Kubectl plugin to find and report outdated images running in a Kubernetes cluster
https://outdated.sh
Apache License 2.0
424 stars 23 forks source link

Test is flaky because of undeterministic ordering #11

Closed marccampbell closed 4 years ago

marccampbell commented 5 years ago

FAIL: TestTagCollectionUnique (0.00s) | 2s
-- | --
  | --- FAIL: TestTagCollectionUnique/less_specific_patch_version (0.00s)
  | require.go:157:
  | Error Trace:    version_test.go:110
  | Error:          Not equal:
  | expected: []string{"0.1.0", "0.1"}
  | actual  : []string{"0.1", "0.1.0"}
  |  
  | Diff:
  | --- Expected
  | +++ Actual
  | @@ -1,4 +1,4 @@
  | ([]string) (len=2) {
  | - (string) (len=5) "0.1.0",
  | - (string) (len=3) "0.1"
  | + (string) (len=3) "0.1",
  | + (string) (len=5) "0.1.0"
  | }
  | Test:           TestTagCollectionUnique/less_specific_patch_version
  | FAIL