From 845a9b28cab0a50eb5c965d4f0157579b1175f4d Mon Sep 17 00:00:00 2001 From: Leorize Date: Mon, 1 Jun 2020 17:58:55 -0500 Subject: [PATCH] untestable/thttpclient_ssl: fix 10000-sans test --- tests/untestable/thttpclient_ssl.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/untestable/thttpclient_ssl.nim b/tests/untestable/thttpclient_ssl.nim index a27da6d5c1..2c3c3b4bba 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