From c98f6f1e09c1aad397046860baad27a7c41a3446 Mon Sep 17 00:00:00 2001 From: markiian Date: Mon, 7 Aug 2023 12:16:58 +0300 Subject: [PATCH] Fix fluky functional test --- .../prebid/server/functional/tests/privacy/GdprAmpSpec.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/groovy/org/prebid/server/functional/tests/privacy/GdprAmpSpec.groovy b/src/test/groovy/org/prebid/server/functional/tests/privacy/GdprAmpSpec.groovy index 166266e7ffe..925cc7e1f76 100644 --- a/src/test/groovy/org/prebid/server/functional/tests/privacy/GdprAmpSpec.groovy +++ b/src/test/groovy/org/prebid/server/functional/tests/privacy/GdprAmpSpec.groovy @@ -292,7 +292,8 @@ class GdprAmpSpec extends PrivacyBaseSpec { def "PBS amp with proper consent.tcfPolicyVersion parameter should process request and cache correct vendorList file"() { given: "Test start time" - def startTime = Instant.now() + // 5000 sec due to container starts match more earlier that this test run + def startTime = Instant.now().minusSeconds(5000) and: "Prepare tcf consent string" def tcfConsent = new TcfConsent.Builder()