From c2fb2dabd7c9320d1a9c55fd0fb3722e877bda27 Mon Sep 17 00:00:00 2001 From: Rupal Mahajan Date: Mon, 29 Jul 2024 07:08:15 -0700 Subject: [PATCH] Fix integ-test failure (#1022) 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,