aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce
diff options
context:
space:
mode:
authorAlain Kermis <alain.kermis@sonarsource.com>2023-07-20 16:03:24 +0200
committersonartech <sonartech@sonarsource.com>2023-07-21 20:03:17 +0000
commit13f4b6670e24e6395138219f1a8e05873858997a (patch)
tree4345642b8d38405811e96a57f3e7e512426b4450 /server/sonar-ce
parent5af64e5d3a4e5188f0e5c6c7ebf8adab4d3b0cbe (diff)
downloadsonarqube-13f4b6670e24e6395138219f1a8e05873858997a.tar.gz
sonarqube-13f4b6670e24e6395138219f1a8e05873858997a.zip
SONAR-7698 Rename snapshots column build_date to analysis_date
Diffstat (limited to 'server/sonar-ce')
-rw-r--r--server/sonar-ce/src/it/java/org/sonar/ce/analysis/cache/cleaning/AnalysisCacheCleaningSchedulerImplIT.java6
1 files changed, 3 insertions, 3 deletions
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);
}
}