Skip to content

Commit 21ef20c

Browse files
authored
fix: do not depend on external domains in dnslink tests (#547)
Dependency on third-party domains means that over time CI will break, like it did in https://github.com/ipfs/kubo/actions/runs/9214249430/job/25364989609?pr=10429#step:9:63 Error: queryCname ENODATA singularity.storage There three domains left here are enough to cover all cases. Ideally, CI would not depend on internet DNS, and have static fixtures and custom localhost DNS server, but this should be good enough to stop breaking Kubo CI etc
1 parent 011fa92 commit 21ef20c

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

packages/interop/src/ipns-dnslink.spec.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,9 @@ import type { IPNS } from '@helia/ipns'
77
import type { HeliaLibp2p } from 'helia'
88

99
const TEST_DOMAINS: string[] = [
10-
'ipfs.io',
10+
'ipfs.tech',
1111
'docs.ipfs.tech',
12-
'en.wikipedia-on-ipfs.org',
13-
'blog.libp2p.io',
14-
'consensuslab.world',
15-
'n0.computer',
16-
'protocol.ai',
17-
'research.protocol.ai',
18-
'probelab.io',
19-
'singularity.storage',
20-
'saturn.tech'
12+
'en.wikipedia-on-ipfs.org'
2113
]
2214

2315
describe('@helia/ipns - dnslink', () => {

0 commit comments

Comments
 (0)