From 83a7c1cbad1ff0c01714296733f9ee80395469ca Mon Sep 17 00:00:00 2001 From: Andrii Voskoboinikov <avoskoboinikov@magento.com> Date: Tue, 16 Jan 2018 18:14:28 +0200 Subject: [PATCH] MAGETWO-85904: Investigate fluctuations of PAT Nightly build --- .../testsuite/Magento/Security/Model/Plugin/AuthSessionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tests/integration/testsuite/Magento/Security/Model/Plugin/AuthSessionTest.php b/dev/tests/integration/testsuite/Magento/Security/Model/Plugin/AuthSessionTest.php index 65a01d0ad49..52268dc96d8 100644 --- a/dev/tests/integration/testsuite/Magento/Security/Model/Plugin/AuthSessionTest.php +++ b/dev/tests/integration/testsuite/Magento/Security/Model/Plugin/AuthSessionTest.php @@ -124,7 +124,7 @@ class AuthSessionTest extends \PHPUnit\Framework\TestCase \Magento\TestFramework\Bootstrap::ADMIN_PASSWORD ); $sessionId = $this->authSession->getSessionId(); - $prolongsDiff = log($this->securityConfig->getAdminSessionLifetime()) + 2; // X from comment above + $prolongsDiff = 4 * log($this->securityConfig->getAdminSessionLifetime()) + 2; // X from comment above $dateInPast = $this->dateTime->formatDate($this->authSession->getUpdatedAt() - $prolongsDiff); $this->adminSessionsManager->getCurrentSession() ->setData( -- GitLab