Skip to content

Commit

Permalink
fix error message in test
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
  • Loading branch information
inteon committed Apr 27, 2023
1 parent 84f16e8 commit 9944600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ var _ = Describe("controller", func() {

err = ctrl.Start(context.TODO())
Expect(err).To(HaveOccurred())
Expect(err.Error()).To(ContainSubstring("failed to wait for testcontroller caches to sync: timed out waiting for cache to be synced"))
Expect(err.Error()).To(ContainSubstring("failed to wait for testcontroller caches to sync: timed out trying to get an informer from cache and waiting for cache to be synced"))
})

It("should not error when context cancelled", func() {
Expand Down

0 comments on commit 9944600

Please sign in to comment.