Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions resources/scenarios/test_scenarios/connect_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ def assert_connection(self, connector, connectee_index, connection_type: Connect
if connection_type == ConnectionType.DNS:
assert any(
# ignore the ...-service suffix
self.nodes[connectee_index].tank in d.get("addr")
self.nodes[connectee_index].tank in (d.get("addr") or "")
for d in connector
), "Could not find conectee hostname"
), "Could not find connectee hostname"
elif connection_type == ConnectionType.IP:
assert any(
d.get("addr").split(":")[0] == self.nodes[connectee_index].rpchost
(d.get("addr") or "").split(":")[0] == self.nodes[connectee_index].rpchost
for d in connector
), "Could not find connectee ip addr"
else:
Expand Down