From 99446006d3bbc9ea01ec520cb8082d2bbb7479a0 Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Thu, 27 Apr 2023 13:52:52 +0200 Subject: [PATCH] fix error message in test Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- pkg/internal/controller/controller_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/controller/controller_test.go b/pkg/internal/controller/controller_test.go index 9024556fd0..cb0078a2fe 100644 --- a/pkg/internal/controller/controller_test.go +++ b/pkg/internal/controller/controller_test.go @@ -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() {