Skip to content

Commit f8c1968

Browse files
committed
update port range
1 parent b12ed2a commit f8c1968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testmodule/providers/jsonrpc/rpc_mock.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type MockRpcHttpServer* = ref object
1414
srv: RpcHttpServer
1515

1616
proc new*(_: type MockRpcHttpServer): MockRpcHttpServer =
17-
let port = rand(65000..<66000)
17+
let port = rand(49152..65535)
1818
let srv = newRpcHttpServer(["127.0.0.1:" & $port])
1919
let filters = initTable[string, bool]()
2020
MockRpcHttpServer(filters: filters, newFilterCounter: 0, srv: srv)

0 commit comments

Comments
 (0)