Beispiel #1
0
 def failToPingFromAll(self, addr):
     for node in list(self.nodes.values()):
         self.assertFalse(node.ping(addr, timeout=3))
 def pingFromAll(self, addr):
     for node in list(self.nodes.values()):
         self.assertTrue(node.ping(addr))
Beispiel #3
0
 def pingFromAll(self, addr):
     for node in list(self.nodes.values()):
         self.assertTrue(node.ping(addr))
 def failToPingFromAll(self, addr):
     for node in list(self.nodes.values()):
         self.assertFalse(node.ping(addr, timeout=3000))