From 90d13c8ea6110a5cdba025336107bea830dab235 Mon Sep 17 00:00:00 2001 From: Raffael Sahli Date: Tue, 15 Oct 2024 16:48:05 +0200 Subject: [PATCH] t --- internal/controllers/postgresql_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controllers/postgresql_test.go b/internal/controllers/postgresql_test.go index d12c280..dfe948d 100644 --- a/internal/controllers/postgresql_test.go +++ b/internal/controllers/postgresql_test.go @@ -254,9 +254,9 @@ var _ = Describe("PostgreSQL", func() { It("expects reconcile to fail because database is not reachable", func() { got := &infrav1beta1.PostgreSQLUser{} Eventually(func() bool { - _ = k8sClient.Get(context.Background(), keyUser, got) + err = k8sClient.Get(context.Background(), keyUser, got) - fmt.Printf("263: %#v\n\n", got.Status) + fmt.Printf("263: %#v -- %#v\n\n", err, got.Status) return len(got.Status.Conditions) == 1 && got.Status.Conditions[0].Reason == infrav1beta1.ConnectionFailedReason &&