Skip to content

Commit 19d8d03

Browse files
committed
CI update expected warning text
Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
1 parent 10b022e commit 19d8d03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/integration/targets/certificate/tasks/02_ssl_eof_error.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,19 @@
6363
environment:
6464
SC_HOST: https://127.0.0.50
6565

66+
# Seems we get SSLEOFError when testing in github CI in docker image,
67+
# and SSLZeroReturnError when testing locally (on Fedora 36 host).
6668
- ansible.builtin.assert:
6769
that:
6870
- certificate_info is succeeded
6971
- certificate_info is changed
7072
# - certificate_info.record.certificate != default_cert_info.cert
7173
- "{{ certificate_info.record.certificate | replace('\n','') == lookup('file', 'certificate_example.crt') | replace('\n','') }}"
7274
- certificate_info.warnings | length >= 1
73-
- certificate_info.warnings[0] == "retry 0/10, SSL error SSLZeroReturnError - ignore and continue"
75+
- certificate_info.warnings[0] == in [
76+
"retry 0/10, SSL error SSLEOFError - ignore and continue",
77+
"retry 0/10, SSL error SSLZeroReturnError - ignore and continue",
78+
]
7479

7580
- name: Get new / uploaded cert from cluster
7681
community.crypto.get_certificate:

0 commit comments

Comments
 (0)