diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2019-05-06 16:38:40 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-05-22 20:21:16 +0200 |
commit | abf908c2a51ed98d856b567663ba4eedf996c102 (patch) | |
tree | 9d8921e849feea32a32fe9f10d17e292df1a1609 /server/sonar-db-dao | |
parent | edbce3b7a43006e14d6fd6d408ad1549ddac3c84 (diff) | |
download | sonarqube-abf908c2a51ed98d856b567663ba4eedf996c102.tar.gz sonarqube-abf908c2a51ed98d856b567663ba4eedf996c102.zip |
SONAR-11950 create DB column snapshots.revision
Diffstat (limited to 'server/sonar-db-dao')
5 files changed, 11 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeCommandsTest/shouldPurgeAnalysis-result.xml b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeCommandsTest/shouldPurgeAnalysis-result.xml index b61837e660b..e41b1f1d7ab 100644 --- a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeCommandsTest/shouldPurgeAnalysis-result.xml +++ b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeCommandsTest/shouldPurgeAnalysis-result.xml @@ -33,6 +33,7 @@ Note that measures, events and reviews are not deleted. build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <analysis_properties uuid="u1" snapshot_uuid="u1" @@ -106,6 +107,7 @@ Note that measures, events and reviews are not deleted. build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <analysis_properties uuid="u2" diff --git a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml index 9d3afbaa225..b0aa9eb8837 100644 --- a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml +++ b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAbortedBuilds-result.xml @@ -51,6 +51,7 @@ Snapshot 2 has been deleted build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <!-- snapshot with status "processed" and flagged as "last" -> do not purge and do not delete --> @@ -79,6 +80,7 @@ Snapshot 2 has been deleted build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> </dataset> diff --git a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses-result.xml b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses-result.xml index aa7d13e08f5..2dda466f3a2 100644 --- a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses-result.xml +++ b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteAnalyses-result.xml @@ -26,6 +26,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <!-- delete only resource 1 --> @@ -54,6 +55,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> </dataset> diff --git a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteHistoricalDataOfDirectoriesAndFiles-result.xml b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteHistoricalDataOfDirectoriesAndFiles-result.xml index cbfd274de16..aa85a695d08 100644 --- a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteHistoricalDataOfDirectoriesAndFiles-result.xml +++ b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldDeleteHistoricalDataOfDirectoriesAndFiles-result.xml @@ -186,6 +186,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <project_measures id="1" @@ -279,6 +280,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <project_measures id="5" diff --git a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldPurgeProject-result.xml b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldPurgeProject-result.xml index 3d7fd311f93..a3259f6ddd5 100644 --- a/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldPurgeProject-result.xml +++ b/server/sonar-db-dao/src/test/resources/org/sonar/db/purge/PurgeDaoTest/shouldPurgeProject-result.xml @@ -67,6 +67,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> @@ -96,6 +97,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> <!-- snapshot to be purged --> @@ -124,6 +126,7 @@ build_date="1228222680000" version="[null]" build_string="[null]" + revision="[null]" /> </dataset> |