File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
devp2p/src/test/kotlin/org/apache/tuweni/v2/devp2p/v5 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ class DefaultDiscoveryV5ServiceTest {
2828
2929 private val recipientKeyPair: SECP256K1 .KeyPair = SECP256K1 .KeyPair .random()
3030 private val recipientEnr: Bytes =
31- EthereumNodeRecord .toRLP(recipientKeyPair, ip = InetAddress .getLoopbackAddress(), udp = 19001 )
31+ EthereumNodeRecord .toRLP(recipientKeyPair, ip = InetAddress .getLoopbackAddress(), udp = 19003 )
3232 private val encodedEnr: String = " enr:${Base64URLSafe .encode(recipientEnr)} "
3333 private val keyPair: SECP256K1 .KeyPair = SECP256K1 .KeyPair .random()
34- private val localPort: Int = 19000
34+ private val localPort: Int = 19002
3535 private val bootstrapENRList: List <String > = listOf (encodedEnr)
3636
3737 @Test
3838 fun startInitializesConnectorAndBootstraps (@VertxInstance vertx : Vertx ): Unit = runBlocking {
3939 val reference = AsyncResult .incomplete<Buffer >()
4040 val client = vertx.createDatagramSocket().handler { res ->
4141 reference.complete(res.data())
42- }.listen(19001 , " localhost" ).coAwait()
42+ }.listen(19003 , " localhost" ).coAwait()
4343 val discoveryV5Service: DiscoveryV5Service =
4444 DiscoveryService .open(
4545 vertx,
You can’t perform that action at this time.
0 commit comments