From a74b2bebf5c3578492c88a843d3d5727e19ec602 Mon Sep 17 00:00:00 2001 From: Maikel Arabori Date: Thu, 16 Nov 2023 07:37:54 -0300 Subject: [PATCH] refactor: Rename variable --- .../org/hisp/dhis/analytics/data/AnalyticsServiceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java index 041488186f5d..1990ed0c7234 100644 --- a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java +++ b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java @@ -253,7 +253,7 @@ public void setUpTest() throws IOException, InterruptedException { // We need to make sure that table generation start time is greater than // lastUpdated on tables populated in the setup - Date oneSecondFromNow = + Date tenSecondsFromNow = Date.from(LocalDateTime.now().plusSeconds(10).atZone(ZoneId.systemDefault()).toInstant()); assertNull( @@ -265,7 +265,7 @@ public void setUpTest() throws IOException, InterruptedException { processStartTime = new Date(); // Generate analytics tables analyticsTableGenerator.generateTables( - AnalyticsTableUpdateParams.newBuilder().withStartTime(oneSecondFromNow).build(), + AnalyticsTableUpdateParams.newBuilder().withStartTime(tenSecondsFromNow).build(), NoopJobProgress.INSTANCE); }