From 13f4b6670e24e6395138219f1a8e05873858997a Mon Sep 17 00:00:00 2001 From: Alain Kermis Date: Thu, 20 Jul 2023 16:03:24 +0200 Subject: SONAR-7698 Rename snapshots column build_date to analysis_date --- .../cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/sonar-ce') diff --git a/server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java b/server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java index fe6683c7753..a100566b60d 100644 --- a/server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java +++ b/server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java @@ -88,7 +88,7 @@ public class AnalysisCacheCleaningSchedulerImplIT { assertThat(scannerAnalysisCacheDao.selectData(dbSession, snapshot4.getRootComponentUuid())).isNull(); } - private static SnapshotDto createSnapshot(long buildtime) { + private static SnapshotDto createSnapshot(long analysisTime) { return new SnapshotDto() .setUuid(uuidFactory.create()) .setRootComponentUuid(uuidFactory.create()) @@ -97,8 +97,8 @@ public class AnalysisCacheCleaningSchedulerImplIT { .setProjectVersion("2.1-SNAPSHOT") .setPeriodMode("days1") .setPeriodParam("30") - .setPeriodDate(buildtime) - .setBuildDate(buildtime); + .setPeriodDate(analysisTime) + .setAnalysisDate(analysisTime); } } -- cgit v1.2.3