Skip to content

Commit

Permalink
Merge pull request kubernetes#398 from apelisse/cached-remove-sort-li…
Browse files Browse the repository at this point in the history
…stmerger

cached: Do not sort ListMerger test outputs
  • Loading branch information
k8s-ci-robot committed May 25, 2023
2 parents 7828149 + 9aca2f1 commit 2546d82
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/cached/cache_test.go
Expand Up @@ -870,8 +870,6 @@ func TestListMerger(t *testing.T) {
d = append(d, string(result.Data))
e = append(e, result.Etag)
}
sort.Strings(d)
sort.Strings(e)
return cached.NewResultOK([]byte("merged "+strings.Join(d, " and ")), "merged "+strings.Join(e, " and "))
}, []cached.Data[[]byte]{
source1, source2,
Expand Down Expand Up @@ -924,8 +922,6 @@ func TestListMergerSourceError(t *testing.T) {
d = append(d, string(result.Data))
e = append(e, result.Etag)
}
sort.Strings(d)
sort.Strings(e)
return cached.NewResultOK([]byte("merged "+strings.Join(d, " and ")), "merged "+strings.Join(e, " and "))
}, []cached.Data[[]byte]{
source1, source2,
Expand Down Expand Up @@ -974,8 +970,6 @@ func TestListMergerAlternateSourceError(t *testing.T) {
d = append(d, string(result.Data))
e = append(e, result.Etag)
}
sort.Strings(d)
sort.Strings(e)
return cached.NewResultOK([]byte("merged "+strings.Join(d, " and ")), "merged "+strings.Join(e, " and "))
}, []cached.Data[[]byte]{
source1, source2,
Expand Down

0 comments on commit 2546d82

Please sign in to comment.