1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-14 23:44:58 +02:00

Update SSL error message test on CentOS 7.

This commit is contained in:
David Steele
2018-05-11 10:39:36 -04:00
parent 4b4af1cbfc
commit a1be8e16cd
2 changed files with 10 additions and 2 deletions

View File

@ -62,10 +62,10 @@ sub run
if ($self->vm() eq VM_CO7)
{
# Tests fails on co7 because by default certs cannot be located. This logic may need to be changed in the future if
# this bug gets fixed by Red Hat.
# this bug gets fixed by Red Hat. UPDATE: The behavior changed here but it does not seems to be fixed.
$self->testException(
sub {storageRepo({strStanza => 'test1'})->list('/')}, ERROR_HOST_CONNECT,
'IO::Socket::IP configuration failed SSL connect attempt failed.*certificate verify failed',
'IO::Socket::IP configuration failed error.*shutdown while in init',
'cert verify fails on ' . VM_CO7);
# It should work when verification is disabled