MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / query_master_and_wait

Method query_master_and_wait

tests/flow/test_effects.py:69–75  ·  view source on GitHub ↗
(self, q)

Source from the content-addressed store, hash-verified

67
68 # query master and wait for replica
69 def query_master_and_wait(self, q):
70 res = self.master_graph.query(q)
71
72 # wait for replica to ack write
73 self.master.wait(1, 400)
74
75 return res
76
77 # asserts that master and replica have the same view over the graph
78 def assert_graph_eq(self):

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected