Skip to content

Commit

Permalink
refactor: Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maikelarabori committed Nov 16, 2023
1 parent 2a1f937 commit a74b2be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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);
}

Expand Down

0 comments on commit a74b2be

Please sign in to comment.