File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
bindings/kotlin/ldk-node-jvm/lib/src/test/kotlin/org/lightningdevkit/ldknode Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -176,13 +176,29 @@ class LibraryTest {
176176 config1.storageDirPath = tmpDir1
177177 config1.listeningAddresses = listOf (listenAddress1)
178178 config1.network = Network .REGTEST
179+ if (System .getenv(" HRN_TESTS" ) == null ) {
180+ config1.hrnConfig = HumanReadableNamesConfig (
181+ resolutionConfig = HrnResolverConfig .Dns (
182+ dnsServerAddress = " 8.8.8.8:53" ,
183+ enableHrnResolutionService = false
184+ )
185+ )
186+ }
179187
180188 println (" Config 1: $config1 " )
181189
182190 val config2 = defaultConfig()
183191 config2.storageDirPath = tmpDir2
184192 config2.listeningAddresses = listOf (listenAddress2)
185193 config2.network = Network .REGTEST
194+ if (System .getenv(" HRN_TESTS" ) == null ) {
195+ config2.hrnConfig = HumanReadableNamesConfig (
196+ resolutionConfig = HrnResolverConfig .Dns (
197+ dnsServerAddress = " 8.8.8.8:53" ,
198+ enableHrnResolutionService = false
199+ )
200+ )
201+ }
186202 println (" Config 2: $config2 " )
187203
188204 val builder1 = Builder .fromConfig(config1)
You can’t perform that action at this time.
0 commit comments