This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch 2.3
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
The following commit(s) were added to refs/heads/2.3 by this push:
new 81d4b53f Fix LES tests randomly failing to load bouncycastle extension
81d4b53f is described below
commit 81d4b53f24d74f60c252f2d47798a69df10d1ed9
Author: Antoine Toulme <[email protected]>
AuthorDate: Sat Sep 24 08:53:04 2022 -0700
Fix LES tests randomly failing to load bouncycastle extension
---
les/src/test/kotlin/org/apache/tuweni/les/LESSubprotocolTest.kt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/les/src/test/kotlin/org/apache/tuweni/les/LESSubprotocolTest.kt
b/les/src/test/kotlin/org/apache/tuweni/les/LESSubprotocolTest.kt
index e44c5b47..593208a6 100644
--- a/les/src/test/kotlin/org/apache/tuweni/les/LESSubprotocolTest.kt
+++ b/les/src/test/kotlin/org/apache/tuweni/les/LESSubprotocolTest.kt
@@ -25,6 +25,7 @@ import org.apache.tuweni.eth.Hash
import org.apache.tuweni.eth.repository.BlockchainRepository
import org.apache.tuweni.eth.repository.MemoryTransactionPool
import org.apache.tuweni.genesis.Genesis
+import org.apache.tuweni.junit.BouncyCastleExtension
import org.apache.tuweni.junit.TempDirectoryExtension
import org.apache.tuweni.rlpx.MemoryWireConnectionsRepository
import org.apache.tuweni.rlpx.wire.SubProtocolIdentifier
@@ -35,7 +36,7 @@ import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
import org.junit.jupiter.api.extension.ExtendWith
-@ExtendWith(TempDirectoryExtension::class)
+@ExtendWith(TempDirectoryExtension::class, BouncyCastleExtension::class)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
internal class LESSubprotocolTest {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]