Skip to content

Commit

Permalink
removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
ditrytus committed Dec 10, 2024
1 parent 70e78a3 commit b1e9843
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/v1alpha_slo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,18 +234,6 @@ func Test_Objects_V1_V1alpha_SLO(t *testing.T) {
t.Run(name, func(t *testing.T) {
t.Parallel()
actual, err := client.Objects().V1().GetV1alphaSLOs(ctx, test.request)
var actualComposites []v1alphaSLO.SLO
for _, slo := range actual {
if slo.Spec.HasCompositeObjectives() {
actualComposites = append(actualComposites, slo)
}
}
var expectedComposites []v1alphaSLO.SLO
for _, slo := range test.expected {
if slo.Spec.HasCompositeObjectives() {
expectedComposites = append(expectedComposites, slo)
}
}
require.NoError(t, err)
if !test.returnsAll {
require.Equal(t, len(actual), len(test.expected),
Expand Down

0 comments on commit b1e9843

Please sign in to comment.