Skip to content

Commit 089ad0f

Browse files
authored
Pick correct locally generated build for !current_version tests (#3455)
The previous logic for choosing the locally generated build for `!current_version` required that there be the word `SNAPSHOT` in the jar name. This had the effect that during release builds, we wouldn't run tests with the current version as an external version. This resulted in test failures after `ExternalServerTest` was added. This fixes #3454.
1 parent 18220d8 commit 089ad0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yaml-tests/yaml-tests.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ task serverJars(type: Copy) {
179179
into project.layout.buildDirectory.dir('externalServer')
180180
from resolveOtherServer(["4.2.3.0", "4.2.4.0"].toSet())
181181
from (rootProject.project("fdb-relational-server").layout.files('.dist')) {
182-
include("*-SNAPSHOT-all.jar")
182+
include("fdb-relational-server-${rootProject.version}-all.jar")
183183
}
184184
}
185185

0 commit comments

Comments
 (0)