From a1be8e16cdfd364591c3a7104b1cc30084b13a08 Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 11 May 2018 10:39:36 -0400 Subject: [PATCH] Update SSL error message test on CentOS 7. --- doc/xml/release.xml | 8 ++++++++ .../Module/Storage/StorageS3CertPerlTest.pm | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 82aca0479..e05550cd7 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -24,6 +24,14 @@ + + + + +

Update SSL error message test on CentOS 7.

+
+
+
diff --git a/test/lib/pgBackRestTest/Module/Storage/StorageS3CertPerlTest.pm b/test/lib/pgBackRestTest/Module/Storage/StorageS3CertPerlTest.pm index 328c609de..b3784229f 100644 --- a/test/lib/pgBackRestTest/Module/Storage/StorageS3CertPerlTest.pm +++ b/test/lib/pgBackRestTest/Module/Storage/StorageS3CertPerlTest.pm @@ -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