From 32e55b2c7c438a4561fe4389fd69c07f55524da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Fei?= Date: Mon, 7 Oct 2024 12:29:45 +0200 Subject: [PATCH] fix: Its can't be wrapped by a condition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Niccolò Fei --- tests/e2e/configuration_update_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/configuration_update_test.go b/tests/e2e/configuration_update_test.go index 0ddcf9f165..74800a23ab 100644 --- a/tests/e2e/configuration_update_test.go +++ b/tests/e2e/configuration_update_test.go @@ -425,8 +425,8 @@ var _ = Describe("Configuration update", Ordered, Label(tests.LabelClusterMetada }) // pg_ident_file_mappings is available from v15 only - if env.PostgresVersion > 14 { - It("09. reloading Pg when pg_ident rules are modified", func() { + It("09. reloading Pg when pg_ident rules are modified", func() { + if env.PostgresVersion > 14 { primaryPod, err := env.GetClusterPrimary(namespace, clusterName) Expect(err).ToNot(HaveOccurred()) query := "select count(1) from pg_ident_file_mappings;" @@ -462,8 +462,8 @@ var _ = Describe("Configuration update", Ordered, Label(tests.LabelClusterMetada return strings.Trim(stdout, "\n"), err }, timeout).Should(BeEquivalentTo("2")) }) - }) - } + } + }) }) var _ = Describe("Configuration update with primaryUpdateMethod", Label(tests.LabelClusterMetadata), func() {