Skip to content

Commit 769ff2c

Browse files
committed
Allow controller to ping itself on tests
1 parent 3b0c8dd commit 769ff2c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

test/perf/affinity.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,6 @@ def ping(self, count, peer=None, node_ping_name="ping_node"):
165165
if peer.name not in self.topology.nodes[node_ping_name].connections:
166166
self.topology.nodes[node_ping_name].connections.append(peer.name)
167167

168-
if self.controller:
169-
# TODO Remove this once a controller is pingable
170-
return True
171-
172168
peer_address = self.topology.nodes[peer.name].listen
173169

174170
starter = [

0 commit comments

Comments
 (0)