Skip to content

Commit

Permalink
Merge pull request #2868 from fgiloux/flake-2865
Browse files Browse the repository at this point in the history
🌱 adding logs to investigate E2E flake
  • Loading branch information
openshift-merge-robot authored Mar 6, 2023
2 parents e1353f4 + f9b66b9 commit c9fbb59
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 c9fbb59

Please sign in to comment.