(self)
| 811 | self.env.assertFalse(self.monitor_containt_effect()) |
| 812 | |
| 813 | def test_15_random_ops(self): |
| 814 | # update graph key |
| 815 | global GRAPH_ID |
| 816 | GRAPH_ID = "random_graph" |
| 817 | |
| 818 | # update graph objects to use new graph key |
| 819 | self.master_graph = Graph(self.master, GRAPH_ID) |
| 820 | self.replica_graph = Graph(self.replica, GRAPH_ID) |
| 821 | |
| 822 | # enable effects replication |
| 823 | self.effects_enable() |
| 824 | |
| 825 | from random_graph import create_random_schema, create_random_graph, run_random_graph_ops, ALL_OPS |
| 826 | nodes, edges = create_random_schema() |
| 827 | create_random_graph(self.master_graph, nodes, edges) |
| 828 | |
| 829 | # wait for replica and master to sync |
| 830 | self.master.wait(1, 0) |
| 831 | self.assert_graph_eq() |
| 832 | |
| 833 | run_random_graph_ops(self.master_graph, nodes, edges, ALL_OPS) |
| 834 | |
| 835 | # wait for replica and master to sync |
| 836 | self.master.wait(1, 0) |
| 837 | self.assert_graph_eq() |
| 838 |
nothing calls this directly
no test coverage detected