From aa4e834920b7ef36062de6db9b0e2ffb6f7406c9 Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Sun, 22 Dec 2024 10:39:51 +0100 Subject: [PATCH] try fix flaky test --- .../search/temporal/service/AttributeInstanceServiceTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search-service/src/test/kotlin/com/egm/stellio/search/temporal/service/AttributeInstanceServiceTests.kt b/search-service/src/test/kotlin/com/egm/stellio/search/temporal/service/AttributeInstanceServiceTests.kt index 3c991e043..d1fc7f0e6 100644 --- a/search-service/src/test/kotlin/com/egm/stellio/search/temporal/service/AttributeInstanceServiceTests.kt +++ b/search-service/src/test/kotlin/com/egm/stellio/search/temporal/service/AttributeInstanceServiceTests.kt @@ -103,7 +103,7 @@ class AttributeInstanceServiceTests : WithTimescaleContainer, WithKafkaContainer @Autowired private lateinit var r2dbcEntityTemplate: R2dbcEntityTemplate - private val now = Instant.now().atZone(ZoneOffset.UTC) + private val now = ngsiLdDateTime() private lateinit var incomingAttribute: Attribute private lateinit var outgoingAttribute: Attribute private lateinit var jsonAttribute: Attribute