Skip to content

Commit

Permalink
Review Remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
trasc committed Sep 30, 2024
1 parent 27b3daf commit 42454ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/util/testing/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ func CheckEventRecordedFor(ctx context.Context, k8sClient client.Client,
return true, nil
}
}
return false, fmt.Errorf("event not found fater checking %d events", len(events.Items))
return false, fmt.Errorf("event not found after checking %d events, eventReason: %s , eventType: %s, eventMessage: %s, namespace: %s ",
len(events.Items), eventReason, eventType, eventMessage, ref.Namespace)
}

// HasEventAppeared returns if an event has been emitted
Expand Down

0 comments on commit 42454ba

Please sign in to comment.