fix nim CI; fix local testament (#14102)

This commit is contained in:
Timothee Cour 2020-04-24 01:24:30 -07:00 • committed by GitHub
commit d5b7e9902c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -124,4 +124,7 @@ when not defined(windows):
let msg = getCurrentExceptionMsg()
log "client: exception: " & msg
# SSL_shutdown:shutdown while in init
check(msg.contains("shutdown while in init") or msg.contains("alert number 48"))
if not (msg.contains("shutdown while in init") or msg.contains("alert number 48") or
msg.contains("routines:CONNECT_CR_CERT:certificate verify failed")):
echo "CVerifyPeer exception: " & msg
check(false)