Skip to content

Commit

Permalink
Relax address matching strictness to account for IPv6 representation …
Browse files Browse the repository at this point in the history
…of 127.0.0.1 as ::ffff:127.0.0.1
  • Loading branch information
yadudoc committed Nov 24, 2024
1 parent 3686810 commit 3cf068d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parsl/tests/test_htex/test_zmq_binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ def test_limited_interface_binding(cert_dir: Optional[str]):

matched_conns = [conn for conn in conns if conn.laddr.port == ix.worker_result_port]
assert len(matched_conns) == 1
assert matched_conns[0].laddr.ip == address
# laddr.ip can return ::ffff:127.0.0.1 when using IPv6
assert address in matched_conns[0].laddr.ip

0 comments on commit 3cf068d

Please sign in to comment.