Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed Oct 15, 2024
1 parent 313520f commit 90d13c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controllers/postgresql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 90d13c8

Please sign in to comment.