Skip to content

Commit baa3d6c

Browse files
wadlejitendrajbattiatogabriele-wolfox
authored
Fixed E2E test for synchronous replicas pg_stat_statements
Co-authored-by: Jonathan Battiato <jonathan.battiato@enterprisedb.com> Co-authored-by: Gabriele Quaresima <gabriele.quaresima@enterprisedb.com>
1 parent e8680e6 commit baa3d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/syncreplicas_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ var _ = Describe("Synchronous Replicas", func() {
176176
Eventually(func() string {
177177
out, _, err := tests.Run(
178178
fmt.Sprintf("kubectl exec -n %v %v-1 -c postgres -- "+
179-
"psql -tAc \"select setting from pg_settings where name = 'synchronous_standby_names'\"",
179+
"psql -U postgres -tAc \"select setting from pg_settings where name = 'synchronous_standby_names'\"",
180180
namespace, clusterName))
181181
if err != nil {
182182
return ""

0 commit comments

Comments
 (0)