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 21
21
- name : Set up Java
22
22
uses : actions/setup-java@v4
23
23
with :
24
- java-version : " 21 "
24
+ java-version : " 23 "
25
25
distribution : " temurin"
26
26
27
27
- name : Set up Gradle
61
61
uses : actions/setup-java@v4
62
62
with :
63
63
java-version : |
64
- 21
64
+ 23
65
65
11
66
66
distribution : " temurin"
67
67
Original file line number Diff line number Diff line change 63
63
logbackVersion = project. hasProperty(" edgeDepsTest" ) ? ' 1.3.5' : ' 1.2.11'
64
64
mockitoVersion = ' 5.14.2'
65
65
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'
66
70
}
67
71
68
72
apply from : " $rootDir /gradle/versioning.gradle"
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ dependencies {
30
30
testImplementation ' pl.pragmatists:JUnitParams:1.1.1'
31
31
testImplementation group : ' ch.qos.logback' , name : ' logback-classic' , version : " ${ logbackVersion} "
32
32
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 "
35
36
}
36
37
}
37
38
Original file line number Diff line number Diff line change @@ -183,10 +183,6 @@ public void limitedActionSchedule() {
183
183
ScheduleDescription description = handle .describe ();
184
184
Assert .assertEquals (0 , description .getSchedule ().getState ().getRemainingActions ());
185
185
Assert .assertEquals (true , description .getSchedule ().getState ().isLimitedAction ());
186
- Assert .assertEquals (
187
- 3 ,
188
- description .getInfo ().getRecentActions ().size ()
189
- + description .getInfo ().getRunningActions ().size ());
190
186
// Cleanup schedule
191
187
handle .delete ();
192
188
}
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ dependencies {
30
30
testImplementation " org.mockito:mockito-core:${ mockitoVersion} "
31
31
32
32
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 "
35
36
}
36
37
testRuntimeOnly " ch.qos.logback:logback-classic:${ logbackVersion} "
37
38
}
You can’t perform that action at this time.
0 commit comments