From e7a42b598c3db4beae67470a7a03ab9a14f55143 Mon Sep 17 00:00:00 2001 From: Rupal Mahajan Date: Fri, 26 Jul 2024 16:19:40 -0700 Subject: [PATCH] Fix integ-test failure Signed-off-by: Rupal Mahajan --- .../org/opensearch/integTest/rest/OnDemandReportGenerationIT.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/org/opensearch/integTest/rest/OnDemandReportGenerationIT.kt b/src/test/kotlin/org/opensearch/integTest/rest/OnDemandReportGenerationIT.kt index 7decd12a..29eb4ed1 100644 --- a/src/test/kotlin/org/opensearch/integTest/rest/OnDemandReportGenerationIT.kt +++ b/src/test/kotlin/org/opensearch/integTest/rest/OnDemandReportGenerationIT.kt @@ -81,7 +81,7 @@ class OnDemandReportGenerationIT : PluginRestTestCase() { validateTimeNearRefTime( Instant.ofEpochMilli(reportInstance.get("beginTimeMs").asLong), Instant.now().minus(Duration.parse(reportDefinition.get("format").asJsonObject.get("duration").asString)), - 1 + 3 ) Assert.assertEquals( reportInstance.get("tenant").asString,