From 97ae63cbf08ad163da7670789d42abb1da1ab2a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 29 Jul 2024 14:08:30 +0000 Subject: [PATCH] Fix integ-test failure (#1022) Signed-off-by: Rupal Mahajan (cherry picked from commit c2fb2dabd7c9320d1a9c55fd0fb3722e877bda27) Signed-off-by: github-actions[bot] --- .../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,