Skip to content

Commit

Permalink
Remove flaky test cases from SSLValidatorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkobor committed Oct 23, 2020
1 parent 5ea7762 commit ebc8cfb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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()
}
Expand Down

0 comments on commit ebc8cfb

Please sign in to comment.