Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun committed Jan 17, 2025
1 parent f844e14 commit 925fa9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/k8score/event_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ var _ = Describe("Event Controller", func() {
role = "follower"
sndValidEvent := createRoleChangedEvent(podName, role, uid)
sndValidEvent.LastTimestamp = metav1.NewTime(afterLastTS)
sndValidEvent.EventTime = metav1.NewMicroTime(afterLastTS)
Expect(testCtx.CreateObj(ctx, sndValidEvent)).Should(Succeed())
Eventually(func() string {
event := &corev1.Event{}
Expand Down

0 comments on commit 925fa9a

Please sign in to comment.