MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / wrapped_condition

Function wrapped_condition

tests/util.py:48–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 of this function will be delay*max_attempts
47 """
48 def wrapped_condition():
49 try:
50 result = condition()
51 except:
52 return False, None
53
54 return True, result
55
56 attempt = 0
57 while attempt < (max_attempts-1):

Callers 1

wait_until_not_raisedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected