diff --git a/pkg/trimaran/peaks/peaks_test.go b/pkg/trimaran/peaks/peaks_test.go index 3b2e10666..2d9aaac15 100644 --- a/pkg/trimaran/peaks/peaks_test.go +++ b/pkg/trimaran/peaks/peaks_test.go @@ -415,8 +415,8 @@ func TestPeaksScore(t *testing.T) { score, status := scorePlugin.Score(context.Background(), state, tt.pod, nodeInfo) assert.True(t, status.IsSuccess()) actualList = append(actualList, framework.NodeScore{Name: n.Name, Score: score}) - assert.ElementsMatch(t, tt.expected, actualList) } + assert.ElementsMatch(t, tt.expected, actualList) }) }