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() {