István Fajth created HDDS-8144:
----------------------------------
Summary:
TestDefaultCertificateClient#testTimeBeforeExpiryGracePeriod() test fails as we
approach DST
Key: HDDS-8144
URL: https://issues.apache.org/jira/browse/HDDS-8144
Project: Apache Ozone
Issue Type: Bug
Components: test
Reporter: István Fajth
Assignee: István Fajth
In my local environment the
TestDefaultCertificateClient#testTimeBeforeExpiryGracePeriod() test started to
fail, as we are approaching DST, and with that the return value of
DefaultCertificateClient#timeBeforeExpiryGracePeriod(X509Certificate) is off by
an hour.
This is because the test sets a 28 days expiration to the certificate, but due
to switch to DST, at 3am in one of the mornings we switch to 2am, therefore the
certificate expiration is 28days and 1 hour away instead of the expected 0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]