diff --git a/test/e2e/reconciler/partitionset/partitionset_test.go b/test/e2e/reconciler/partitionset/partitionset_test.go index 9f40629d59a4..c54fb6e8b235 100644 --- a/test/e2e/reconciler/partitionset/partitionset_test.go +++ b/test/e2e/reconciler/partitionset/partitionset_test.go @@ -166,7 +166,7 @@ func TestPartitionSet(t *testing.T) { if len(partitions.Items) == 2 { return true, "" } - return false, fmt.Sprintf("expected 2 partitions, but got %d", len(partitions.Items)) + return false, spew.Sdump(partitions.Items) }, wait.ForeverTestTimeout, 100*time.Millisecond, "expected 2 partitions") require.True(t, (reflect.DeepEqual(partitions.Items[0].Spec.Selector.MatchLabels, map[string]string{"partition-test-region": "partition-test-region-1"}) && reflect.DeepEqual(partitions.Items[1].Spec.Selector.MatchLabels, map[string]string{"partition-test-region": "partition-test-region-2"})) ||