From ebc8cfb44642237c7d08fcdcf9eb1d4d014074df Mon Sep 17 00:00:00 2001 From: adamkobor Date: Fri, 23 Oct 2020 14:37:12 +0200 Subject: [PATCH] Remove flaky test cases from SSLValidatorTest --- .../com/kuvaszuptime/kuvasz/services/SSLValidatorTest.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/test/kotlin/com/kuvaszuptime/kuvasz/services/SSLValidatorTest.kt b/src/test/kotlin/com/kuvaszuptime/kuvasz/services/SSLValidatorTest.kt index fa33001..1d5fc70 100644 --- a/src/test/kotlin/com/kuvaszuptime/kuvasz/services/SSLValidatorTest.kt +++ b/src/test/kotlin/com/kuvaszuptime/kuvasz/services/SSLValidatorTest.kt @@ -18,8 +18,6 @@ class SSLValidatorTest : StringSpec( row("https://sha256.badssl.com/", true), row("https://sha384.badssl.com/", true), row("https://sha512.badssl.com/", true), - row("https://1000-sans.badssl.com/", true), - row("https://10000-sans.badssl.com/", true), row("https://ecc256.badssl.com/", true), row("https://ecc384.badssl.com/", true), row("https://rsa2048.badssl.com/", true), @@ -36,9 +34,6 @@ class SSLValidatorTest : StringSpec( row("https://incomplete-chain.badssl.com/", false) ).forAll { url, isValid -> val result = validator.validate(URL(url)) - println(url) - println(isValid) - println(result) (if (isValid) result.isRight() else result.isLeft()).shouldBeTrue() }