mirror of
https://github.com/corda/corda.git
synced 2025-06-23 17:53:31 +00:00
TM-197 Fix failing test caused by regression and ignoring flaky DistributedServiceTests (#5934)
* TM-197 Setting bouncy castle provider in order for the test to pass * TM-197 setting timeout for all builds at 3 hours * TM-197 ignoring unstable tests
This commit is contained in:
@ -12,6 +12,7 @@ import org.bouncycastle.asn1.x509.GeneralSubtree
|
||||
import org.bouncycastle.asn1.x509.NameConstraints
|
||||
import org.bouncycastle.jce.provider.BouncyCastleProvider
|
||||
import org.junit.Test
|
||||
import java.security.Security
|
||||
import java.security.UnrecoverableKeyException
|
||||
import java.security.cert.CertPathValidator
|
||||
import java.security.cert.CertPathValidatorException
|
||||
@ -93,7 +94,8 @@ class X509NameConstraintsTest {
|
||||
}
|
||||
|
||||
@Test(timeout=300_000)
|
||||
fun `x500 name with correct cn and extra attribute`() {
|
||||
fun `x500 name with correct cn and extra attribute`() {
|
||||
Security.addProvider(BouncyCastleProvider())
|
||||
val acceptableNames = listOf("CN=Bank A TLS, UID=", "O=Bank A")
|
||||
.map { GeneralSubtree(GeneralName(X500Name(it))) }.toTypedArray()
|
||||
|
||||
|
Reference in New Issue
Block a user