Skip to content

Commit c89102a

Browse files
committed
dns test: switch to localhost
License: MIT Signed-off-by: Steven Allen <[email protected]>
1 parent 9a57949 commit c89102a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/sharness/t0236-cli-api-dns-resolve.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ test_description="test dns resolution of api endpoint by cli"
1010

1111
test_init_ipfs
1212

13-
# this test uses the localtest.me domain which resolves to 127.0.0.1
14-
# see http://readme.localtest.me/
15-
# in case if failure, check A record of that domain
1613
test_expect_success "can make http request against dns resolved nc server" '
1714
nc -ld 5005 > nc_out &
1815
NCPID=$!
1916
go-sleep 0.5s && kill "$NCPID" &
20-
ipfs cat /ipfs/Qmabcdef --api /dns4/localtest.me/tcp/5005 || true
17+
ipfs cat /ipfs/Qmabcdef --api /dns4/localhost/tcp/5005 || true
2118
'
2219

2320
test_expect_success "request was received by local nc server" '

0 commit comments

Comments
 (0)