Lines Matching refs:child

70         child = self.nodes[CHILD]
78 child.start()
80 self.assertEqual(child.get_state(), 'child')
81 child.set_pollperiod(500)
83 self.assertEqual(int(child.get_child_supervision_check_failure_counter()), 0)
89 self.assertEqual(table[1]['suprvsn'], int(child.get_child_supervision_interval()))
96 child.set_child_supervision_interval(20)
100 self.assertEqual(int(child.get_child_supervision_interval()), 20)
103 self.assertEqual(table[1]['suprvsn'], int(child.get_child_supervision_interval()))
107 child.set_child_supervision_check_timeout(25)
108 self.assertEqual(int(child.get_child_supervision_check_timeout()), 25)
115 self.assertEqual(child.get_state(), 'child')
118 self.assertEqual(int(child.get_child_supervision_check_failure_counter()), 0)
122 child.set_child_supervision_check_timeout(0)
142 self.assertEqual(child.get_state(), 'child')
143 self.assertEqual(int(child.get_child_supervision_check_failure_counter()), 0)
149 child.set_child_supervision_check_timeout(25)
152 self.assertEqual(child.get_state(), 'detached')
153 self.assertTrue(int(child.get_child_supervision_check_failure_counter()) > 0)
159 self.assertEqual(child.get_state(), 'child')
160 child.reset_child_supervision_check_failure_counter()
161 self.assertEqual(int(child.get_child_supervision_check_failure_counter()), 0)
168 child.set_child_supervision_interval(0)
169 child.set_child_supervision_check_timeout(25)
172 self.assertEqual(int(child.get_child_supervision_interval()), 0)
173 self.assertEqual(int(child.get_child_supervision_check_timeout()), 25)
177 self.assertEqual(table[2]['suprvsn'], int(child.get_child_supervision_interval()))
183 self.assertEqual(child.get_state(), 'child')
185 self.assertTrue(int(child.get_child_supervision_check_failure_counter()) > 0)