From f9b66b9d4774ffb371e0dbf49235be910796a138 Mon Sep 17 00:00:00 2001 From: Frederic Giloux Date: Sat, 4 Mar 2023 12:58:26 +0100 Subject: [PATCH] Adding logs for the investigation of flake #2865 Signed-off-by: Frederic Giloux --- test/e2e/reconciler/partitionset/partitionset_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/reconciler/partitionset/partitionset_test.go b/test/e2e/reconciler/partitionset/partitionset_test.go index 9f40629d59a..79bf81bcbc1 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, 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"})) ||