File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
algoliasearch-client-java/.github/workflows
algoliasearch-client-kotlin/.github/workflows Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 2626
2727 - name : Setup gradle
2828 if : inputs.type != 'minimal'
29- uses : gradle/actions/setup-gradle@v4.4.4
29+ uses : gradle/actions/setup-gradle@v5.0.0
3030 with :
3131 validate-wrappers : true
3232 add-job-summary : ' on-failure'
Original file line number Diff line number Diff line change 2121 java-version-file : .java-version
2222
2323 - name : Setup Gradle
24- uses : gradle/actions/setup-gradle@v4.4.4
24+ uses : gradle/actions/setup-gradle@v5.0.0
2525
2626 - name : Upload Artifacts
2727 run : ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
Original file line number Diff line number Diff line change 2121 java-version : 11
2222
2323 - name : Setup Gradle
24- uses : gradle/actions/setup-gradle@v4.4.4
24+ uses : gradle/actions/setup-gradle@v5.0.0
2525
2626 - name : Upload Artifacts
2727 run : ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
Original file line number Diff line number Diff line change @@ -32,15 +32,17 @@ export function assertValidTimeouts(expectedCount: number): void {
3232
3333 // languages are not consistent yet for the delay between requests
3434 switch ( lang ) {
35+ case 'csharp' :
36+ case 'swift' :
37+ // csharp and swift clocks are worse than my childhood mickey mouse watch
38+ expect ( state . duration [ 3 * i ] ) . to . be . closeTo ( state . duration [ 3 * i + 1 ] , 800 ) ;
39+ break ;
3540 case 'javascript' :
3641 expect ( state . duration [ 3 * i ] * 4 ) . to . be . closeTo ( state . duration [ 3 * i + 1 ] , 300 ) ;
3742 break ;
3843 case 'php' :
3944 expect ( state . duration [ 3 * i ] * 2 ) . to . be . closeTo ( state . duration [ 3 * i + 1 ] , 300 ) ;
4045 break ;
41- case 'swift' :
42- expect ( state . duration [ 3 * i ] ) . to . be . closeTo ( state . duration [ 3 * i + 1 ] , 800 ) ;
43- break ;
4446 default :
4547 // the delay should be the same, because the `retryCount` is per host instead of global
4648 expect ( state . duration [ 3 * i ] ) . to . be . closeTo ( state . duration [ 3 * i + 1 ] , 300 ) ;
You can’t perform that action at this time.
0 commit comments