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

Commit80a3e55

Browse files
committed
examples for PostgresNode.poll_query_until()
1 parent66ca763 commit80a3e55

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎testgres/node.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,11 @@ def poll_query_until(self,
986986
commit: should (possible) changes be committed?
987987
raise_programming_error: enable ProgrammingError?
988988
raise_internal_error: enable InternalError?
989+
990+
Examples:
991+
poll_query_until('select true')
992+
poll_query_until('postgres', "select now() > '01.01.2018'")
993+
poll_query_until('select false', expected=True, max_attempts=4)
989994
"""
990995

991996
# sanity checks

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp