We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9652bb9 commit 2dc0659Copy full SHA for 2dc0659
tests/test_simple.py
@@ -379,12 +379,11 @@ def test_pg_ctl_wait_option(self):
379
while True:
380
try:
381
node.stop(wait=False)
382
- except ExecUtilException:
383
- # it's ok to break here since node could be not
384
- # started yet
385
- continue
386
- else:
387
break
+ except ExecUtilException:
+ # it's ok to get this exception here since node
+ # could be not started yet
+ pass
388
389
def test_replicate(self):
390
with get_new_node() as node:
0 commit comments