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