Skip to content

Commit

Permalink
Adding logs for the investigation of flake kcp-dev#2865
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Giloux <fgiloux@redhat.com>
  • Loading branch information
fgiloux committed Mar 6, 2023
1 parent de6312b commit f9b66b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/reconciler/partitionset/partitionset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, fmt.Sprintf("expected 2 partitions, but got %d, details: %s", len(partitions.Items), 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"})) ||
Expand Down

0 comments on commit f9b66b9

Please sign in to comment.