Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexseij committed Jul 7, 2024
1 parent 79d1b52 commit 463a03b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/manager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,8 @@ var _ = Describe("manger.Manager", func() {
Expect(err).NotTo(HaveOccurred())
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
defer cancel()
Expect(m.Start(ctx)).To(HaveOccurred())
err = m.Start(ctx)
Expect(err).To(HaveOccurred())
Expect(errors.Is(err, context.DeadlineExceeded)).NotTo(BeTrue())
})
})
Expand Down

0 comments on commit 463a03b

Please sign in to comment.