Skip to content

Commit 7d52da0

Browse files
Copilottorosent
andcommitted
Add junit-platform-launcher to endtoendtests and samples-azure-functions
JUnit 5.12+ requires junit-platform-launcher to be explicitly declared. This was already added to client and azuremanaged modules but was missing from endtoendtests and samples-azure-functions, causing the functions-e2e-tests and functions-sample-tests CI jobs to fail. Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
1 parent c661ed4 commit 7d52da0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

endtoendtests/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies {
2020

2121
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
2222
testImplementation 'org.junit.jupiter:junit-jupiter:5.14.2'
23+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2324
testImplementation 'io.rest-assured:rest-assured:5.5.7'
2425
testImplementation 'io.rest-assured:json-path:5.5.7'
2526

samples-azure-functions/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies {
2020

2121
implementation 'com.microsoft.azure.functions:azure-functions-java-library:3.2.3'
2222
testImplementation 'org.junit.jupiter:junit-jupiter:5.14.2'
23+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2324
testImplementation 'io.rest-assured:rest-assured:5.5.7'
2425
testImplementation 'io.rest-assured:json-path:5.5.7'
2526

0 commit comments

Comments
 (0)