summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLeorize <leorize+oss@disroot.org>2020-06-01 17:58:55 -0500
committerAndreas Rumpf <rumpf_a@web.de>2020-06-06 21:11:53 +0200
commitdf91f61e2091164eb5afdd2c88367cf48a042998 (patch)
treecf9225634e1d6cceb7ae82c2109ae8879aa21a40
parent19ccc5fd8d7e187dde0f9190532d7a168bec9572 (diff)
downloadNim-df91f61e2091164eb5afdd2c88367cf48a042998.tar.gz
untestable/thttpclient_ssl: fix 10000-sans test
-rw-r--r--tests/untestable/thttpclient_ssl.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/untestable/thttpclient_ssl.nim b/tests/untestable/thttpclient_ssl.nim
index a27da6d5c..2c3c3b4bb 100644
--- a/tests/untestable/thttpclient_ssl.nim
+++ b/tests/untestable/thttpclient_ssl.nim
@@ -106,7 +106,9 @@ template evaluate(exception_msg: string, category: Category, desc: string) =
         exception_msg == "SSL Certificate check failed." or
         exception_msg.contains("certificate verify failed") or
         exception_msg.contains("key too small") or
-        exception_msg.contains "alert handshake failure", exception_msg
+        exception_msg.contains("alert handshake failure") or
+        # TODO: This one should only triggers for 10000-sans
+        exception_msg.contains("excessive message size"), exception_msg
 
   else:
     # this is unexpected