Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 81d4b53

Browse files
committed
Fix LES tests randomly failing to load bouncycastle extension
1 parent f78e8e8 commit 81d4b53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

les/src/test/kotlin/org/apache/tuweni/les/LESSubprotocolTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import org.apache.tuweni.eth.Hash
2525
import org.apache.tuweni.eth.repository.BlockchainRepository
2626
import org.apache.tuweni.eth.repository.MemoryTransactionPool
2727
import org.apache.tuweni.genesis.Genesis
28+
import org.apache.tuweni.junit.BouncyCastleExtension
2829
import org.apache.tuweni.junit.TempDirectoryExtension
2930
import org.apache.tuweni.rlpx.MemoryWireConnectionsRepository
3031
import org.apache.tuweni.rlpx.wire.SubProtocolIdentifier
@@ -35,7 +36,7 @@ import org.junit.jupiter.api.Test
3536
import org.junit.jupiter.api.TestInstance
3637
import org.junit.jupiter.api.extension.ExtendWith
3738

38-
@ExtendWith(TempDirectoryExtension::class)
39+
@ExtendWith(TempDirectoryExtension::class, BouncyCastleExtension::class)
3940
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
4041
internal class LESSubprotocolTest {
4142

0 commit comments

Comments
 (0)