test: remove websockets

Not really useful for tests, and create issues with port allocation.
This commit is contained in:
fryorcraken 2025-09-22 14:35:47 +10:00
parent d69ad58a7f
commit 270899ea9e
3 changed files with 2 additions and 5 deletions

View File

@ -48,8 +48,9 @@ asynctest "Set up a node with Filter enabled":
check:
not node.isNil()
not node.wakuFilter.isNil()
echo "TEST END"
asynctest "Start a node based on default configurations":
asynctest "Start a node based on default test configuration":
let conf = defaultTestWakuConf()
let node = (await setupNode(conf, relay = Relay.new())).valueOr:

View File

@ -42,8 +42,6 @@ proc defaultTestWakuConfBuilder*(): WakuConfBuilder =
builder.withRendezvous(true)
builder.storeServiceConf.withDbMigration(false)
builder.storeServiceConf.withSupportV2(false)
builder.webSocketConf.withWebSocketPort(Port(8000))
builder.webSocketConf.withEnabled(true)
return builder
proc defaultTestWakuConf*(): WakuConf =

View File

@ -439,7 +439,6 @@ suite "Waku Discovery v5":
confBuilder.discv5Conf.withEnabled(true)
confBuilder.discv5Conf.withUdpPort(9001.Port)
confBuilder.withP2pTcpPort(60001.Port)
confBuilder.websocketConf.withEnabled(false)
let conf1 = confBuilder.build().valueOr:
raiseAssert error
@ -456,7 +455,6 @@ suite "Waku Discovery v5":
confBuilder.withP2pTcpPort(60003.Port)
confBuilder.discv5Conf.withUdpPort(9003.Port)
confBuilder.withNodeKey(crypto.PrivateKey.random(Secp256k1, myRng[])[])
confBuilder.websocketConf.withEnabled(false)
let conf2 = confBuilder.build().valueOr:
raiseAssert error