Add more log information to help debug flake #129779

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
This commit is contained in:
Maciej Szulik 2025-02-17 18:13:20 +01:00
parent 2527854078
commit a36f64e074
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4
2 changed files with 3 additions and 1 deletions

View File

@ -419,7 +419,7 @@ var _ = SIGDescribe("Deployment", func() {
return found, nil return found, nil
} }
default: default:
framework.Logf("observed event type %v", event.Type) framework.Logf("observed event type %#v", event)
} }
return false, nil return false, nil
}) })

View File

@ -547,6 +547,8 @@ func testRSLifeCycle(ctx context.Context, f *framework.Framework) {
framework.Logf("observed Replicaset %v in namespace %v with ReadyReplicas %v found %v", rset.ObjectMeta.Name, rset.ObjectMeta.Namespace, rset.Status.ReadyReplicas, found) framework.Logf("observed Replicaset %v in namespace %v with ReadyReplicas %v found %v", rset.ObjectMeta.Name, rset.ObjectMeta.Namespace, rset.Status.ReadyReplicas, found)
} }
return found, nil return found, nil
} else {
framework.Logf("observed event type %#v", event)
} }
return false, nil return false, nil
}) })