]> git.bitcoin.ninja Git - rust-lightning/commit
Replace `lightning-block-sync` test that depended on `foo.com` 2023-10-no-test-net
authorMatt Corallo <git@bluematt.me>
Mon, 9 Oct 2023 03:24:54 +0000 (03:24 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 13 Oct 2023 02:52:15 +0000 (02:52 +0000)
commit631f989fb5ae53494e1a1208da20c1d64a17b697
tree184280fe0770a49e6bf7d4149fd7947b5f73ca1f
parenteea19de198a359d9014d704baaffc70bdb93f4f7
Replace `lightning-block-sync` test that depended on `foo.com`

Our tests should generally not rely on internet access, and should
not rely on the behavior of any given remote server. However, one
of the `endpoint_tests` in `lightning-block-sync::http` relied on
`foo.com` resolving to a single socket address, which both might
change in the future and makes our tests fail without internet.
lightning-block-sync/src/http.rs