# HG changeset patch # User Sergey Kandaurov # Date 1705951044 -14400 # Node ID c287864444f81413e0621981c2dad7c184aa6dfc # Parent 1786f49cca17a0c942281e28ecb88d276b7dab40 Tests: fixed http_resolver_ipv4.t with parallel tests. Broken in 1786f49cca17. diff --git a/http_resolver_ipv4.t b/http_resolver_ipv4.t --- a/http_resolver_ipv4.t +++ b/http_resolver_ipv4.t @@ -80,9 +80,11 @@ EOF ############################################################################### -is(get('/'), '127.0.0.1:8081, [::1]:8081', 'ipv4 ipv6'); -is(get('/ipv4'), '127.0.0.1:8081', 'ipv4 only'); -is(get('/ipv6'), '[::1]:8081', 'ipv6 only'); +my $p1 = port(8081); + +is(get('/'), "127.0.0.1:$p1, [::1]:$p1", 'ipv4 ipv6'); +is(get('/ipv4'), "127.0.0.1:$p1", 'ipv4 only'); +is(get('/ipv6'), "[::1]:$p1", 'ipv6 only'); ###############################################################################