diff --git a/test/e2e/pkg/sourceclient_test.go b/test/e2e/pkg/sourceclient_test.go index 3a1c9086..3d5f7d85 100644 --- a/test/e2e/pkg/sourceclient_test.go +++ b/test/e2e/pkg/sourceclient_test.go @@ -418,10 +418,12 @@ func StartWatch(ctx context.Context, watcher watch.Interface) *WatchedResult { switch event.Type { case watch.Modified: if work, ok := event.Object.(*workv1.ManifestWork); ok { + fmt.Printf("=====> modified, %v, %v\n", work.CreationTimestamp, work.DeletionTimestamp) result.WatchedWorks = append(result.WatchedWorks, work) } case watch.Deleted: if work, ok := event.Object.(*workv1.ManifestWork); ok { + fmt.Printf("=====> deleted, %v, %v\n", work.CreationTimestamp, work.DeletionTimestamp) result.WatchedWorks = append(result.WatchedWorks, work) } }