don't use conflicting ips

This commit is contained in:
Dmitriy Ryajov 2019-08-27 20:32:47 -06:00
parent 954a78fda0
commit 002328f7e5
1 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ suite "Multistream select":
test "e2e - handle":
proc endToEnd(): Future[bool] {.async.} =
let ma: MultiAddress = Multiaddress.init("/ip4/127.0.0.1/tcp/53340")
let ma: MultiAddress = Multiaddress.init("/ip4/127.0.0.1/tcp/53350")
proc testHandler(conn: Connection,
proto: string): Future[void] {.async.} =
check proto == "/test/proto/1.0.0"
@ -263,7 +263,7 @@ suite "Multistream select":
test "e2e - ls":
proc endToEnd(): Future[bool] {.async.} =
let ma: MultiAddress = Multiaddress.init("/ip4/127.0.0.1/tcp/53341")
let ma: MultiAddress = Multiaddress.init("/ip4/127.0.0.1/tcp/53351")
let msListen = newMultistream()
proc testHandler(conn: Connection,