Skip to content

Commit

Permalink
Update latest release snapshot to unblock tests
Browse files Browse the repository at this point in the history
Also document that need in the failing test.
  • Loading branch information
ljacomet committed Feb 27, 2023
1 parent 716a365 commit 05d90cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions released-versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"latestReleaseSnapshot": {
"version": "7.6-20221123002330+0000",
"buildTime": "20221123002330+0000"
"version": "8.0.2-20230223092022+0000",
"buildTime": "20230223092022+0000"
},
"latestRc": {
"version": "7.6-rc-4",
Expand Down Expand Up @@ -501,4 +501,4 @@
"buildTime": "20090720085013+0200"
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class DistributionLocatorIntegrationTest extends Specification {
urlExist(locator.getDistributionFor(GradleVersion.version("1.12")))
}

/**
* If this test fails, it means that the snapshot in `released-versions.json` is no longer available.
* You need to update that entry with a recent snapshot by hand.
*/
def "locates snapshot versions"() {
expect:
urlExist(locator.getDistributionFor(distributions.mostRecentReleaseSnapshot.version))
Expand Down

0 comments on commit 05d90cc

Please sign in to comment.