Skip to content

Commit 80a3e55

Browse files
committed
examples for PostgresNode.poll_query_until()
1 parent 66ca763 commit 80a3e55

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy