File tree Expand file tree Collapse file tree 5 files changed +12
-10
lines changed
src/test/java/io/temporal/client/schedules Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 2121 - name : Set up Java
2222 uses : actions/setup-java@v4
2323 with :
24- java-version : " 21 "
24+ java-version : " 23 "
2525 distribution : " temurin"
2626
2727 - name : Set up Gradle
6161 uses : actions/setup-java@v4
6262 with :
6363 java-version : |
64- 21
64+ 23
6565 11
6666 distribution : " temurin"
6767
Original file line number Diff line number Diff line change 6363 logbackVersion = project. hasProperty(" edgeDepsTest" ) ? ' 1.3.5' : ' 1.2.11'
6464 mockitoVersion = ' 5.14.2'
6565 junitVersion = ' 4.13.2'
66+ // Edge Dependencies are used by tests to validate the SDK with the latest version of various libraries.
67+ // Not just the version of the library the SDK is built against.
68+ protoVersionEdge = ' 4.30.2'
69+ grpcVersionEdge = ' 1.72.0'
6670}
6771
6872apply from : " $rootDir /gradle/versioning.gradle"
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ dependencies {
3030 testImplementation ' pl.pragmatists:JUnitParams:1.1.1'
3131 testImplementation group : ' ch.qos.logback' , name : ' logback-classic' , version : " ${ logbackVersion} "
3232 if (project. hasProperty(" edgeDepsTest" )) {
33- testRuntimeOnly " com.google.protobuf:protobuf-java:4.29.3"
34- testRuntimeOnly " com.google.protobuf:protobuf-java-util:4.29.3"
33+ testRuntimeOnly " com.google.protobuf:protobuf-java:$protoVersionEdge "
34+ testRuntimeOnly " com.google.protobuf:protobuf-java-util:$protoVersionEdge "
35+ testRuntimeOnly " io.grpc:grpc-bom:$grpcVersionEdge "
3536 }
3637}
3738
Original file line number Diff line number Diff line change @@ -183,10 +183,6 @@ public void limitedActionSchedule() {
183183 ScheduleDescription description = handle .describe ();
184184 Assert .assertEquals (0 , description .getSchedule ().getState ().getRemainingActions ());
185185 Assert .assertEquals (true , description .getSchedule ().getState ().isLimitedAction ());
186- Assert .assertEquals (
187- 3 ,
188- description .getInfo ().getRecentActions ().size ()
189- + description .getInfo ().getRunningActions ().size ());
190186 // Cleanup schedule
191187 handle .delete ();
192188 }
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ dependencies {
3030 testImplementation " org.mockito:mockito-core:${ mockitoVersion} "
3131
3232 if (project. hasProperty(" edgeDepsTest" )) {
33- testRuntimeOnly " com.google.protobuf:protobuf-java:4.29.3"
34- testRuntimeOnly " com.google.protobuf:protobuf-java-util:4.29.3"
33+ testRuntimeOnly " com.google.protobuf:protobuf-java:$protoVersionEdge "
34+ testRuntimeOnly " com.google.protobuf:protobuf-java-util:$protoVersionEdge "
35+ testRuntimeOnly " io.grpc:grpc-bom:$grpcVersionEdge "
3536 }
3637 testRuntimeOnly " ch.qos.logback:logback-classic:${ logbackVersion} "
3738}
You can’t perform that action at this time.
0 commit comments