Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2dc0659

Browse files
committed
Refactor test for test option
1 parent9652bb9 commit2dc0659

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎tests/test_simple.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,11 @@ def test_pg_ctl_wait_option(self):
379379
whileTrue:
380380
try:
381381
node.stop(wait=False)
382-
exceptExecUtilException:
383-
# it's ok to break here since node could be not
384-
# started yet
385-
continue
386-
else:
387382
break
383+
exceptExecUtilException:
384+
# it's ok to get this exception here since node
385+
# could be not started yet
386+
pass
388387

389388
deftest_replicate(self):
390389
withget_new_node()asnode:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp