Skip to content

Commit 5797d3d

Browse files
committed
disable mainnet graph sync test
1 parent f846eb1 commit 5797d3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/LDKSwift/Tests/LDKSwiftTests/LDKSwiftTests.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ class LDKSwiftTests: XCTestCase {
175175
let channelManagerAndNetworkGraphPersisterAndEventHandler = FloatingChannelManagerPersister(channelManager: channelManager)
176176
}
177177

178+
#if !SWIFT_PACKAGE
178179
func testMainnetGraphSync() async throws {
179180
let reversedGenesisHashHex = "6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000"
180181
let reversedGenesisHash = Self.hexStringToBytes(hexString: reversedGenesisHashHex)!
@@ -210,7 +211,7 @@ class LDKSwiftTests: XCTestCase {
210211
print("net graph available!")
211212
}
212213

213-
// Bindings.setLogThreshold(severity: .WARNING)
214+
Bindings.setLogThreshold(severity: .WARNING)
214215

215216
// bitrefill
216217
tcpPeerHandler.connect(address: "52.50.244.44", port: 9735, theirNodeId: Self.hexStringToBytes(hexString: "030c3f19d742ca294a55c00376b3b355c3c90d61c6b6b39554dbc7ac19b141c14f")!)
@@ -238,8 +239,9 @@ class LDKSwiftTests: XCTestCase {
238239
}
239240

240241
Bindings.setLogThreshold(severity: .DEBUG)
241-
242242
}
243+
#endif
244+
243245

244246
func testRouteConstruction() throws {
245247

0 commit comments

Comments
 (0)