Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion e2e/scripts/watch_objects.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/bin/bash

watch -c "
watch -n 0.1 -c "
kubectl get postgresql --all-namespaces
echo
kubectl exec \$(kubectl get pod -l name=postgres-operator --no-headers) -- curl -s localhost:8080/workers/all/status/ | jq .
echo
echo -n 'Rolling upgrade pending: '
kubectl get statefulset -o jsonpath='{.items..metadata.annotations.zalando-postgres-operator-rolling-update-required}'
echo
Expand Down
7 changes: 4 additions & 3 deletions e2e/tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class EndToEndTestCase(unittest.TestCase):
# `kind` pods may stuck in the `Terminating` phase for a few minutes; hence high test timeout
TEST_TIMEOUT_SEC = 600

def eventuallyEqual(self, f, x, m, retries=60, interval=2):
def eventuallyEqual(self, f, x, m, retries=60, interval=3):
while True:
try:
y = f()
Expand All @@ -47,7 +47,7 @@ def eventuallyEqual(self, f, x, m, retries=60, interval=2):
raise
time.sleep(interval)

def eventuallyNotEqual(self, f, x, m, retries=60, interval=2):
def eventuallyNotEqual(self, f, x, m, retries=60, interval=3):
while True:
try:
y = f()
Expand All @@ -59,7 +59,7 @@ def eventuallyNotEqual(self, f, x, m, retries=60, interval=2):
raise
time.sleep(interval)

def eventuallyTrue(self, f, m, retries=60, interval=2):
def eventuallyTrue(self, f, m, retries=60, interval=3):
while True:
try:
self.assertTrue(f(), m)
Expand Down Expand Up @@ -708,6 +708,7 @@ def setUp(cls):
pass

@timeout_decorator.timeout(TEST_TIMEOUT_SEC)
@unittest.skip("Skipping this test until fixed")
def test_multi_namespace_support(self):
'''
Create a customized Postgres cluster in a non-default namespace.
Expand Down