1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-02 12:41:14 +03: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

@@ -24,6 +24,14 @@
</release-item>
</release-improvement-list>
</release-core-list>
<release-test-list>
<release-development-list>
<release-item>
<p>Update SSL error message test on CentOS 7.</p>
</release-item>
</release-development-list>
</release-test-list>
</release>
<release date="2018-05-06" version="2.02" title="Parallel Asynchronous Archive Get and Configuration Includes">

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