File tree Expand file tree Collapse file tree 6 files changed +12
-10
lines changed
common/test/aws/smithy/kotlin/runtime/retries/delay
jvm/test/aws/smithy/kotlin/runtime/retries/impl Expand file tree Collapse file tree 6 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "dependencies" : {
33 "org.jetbrains.kotlin:kotlin-stdlib:2.0.*" : " KotlinStdlib-2.x" ,
4- "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8. *" : " KotlinxCoroutinesCoreJvm-1.8 .x" ,
4+ "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*" : " KotlinxCoroutinesCoreJvm-1.x" ,
55
66 "com.squareup.okhttp3:okhttp-coroutines:5.*" : " OkHttp3Coroutines-5.x" ,
77 "com.squareup.okhttp3:okhttp:5.*" : " OkHttp3-5.x" ,
3434 "resolvesConflictDependencies" : {
3535 "com.squareup.okhttp3:okhttp-coroutines:5.*" : [
3636 " KotlinStdlib-2.x" ,
37- " KotlinxCoroutinesCoreJvm-1.8. x" ,
37+ " KotlinxCoroutinesCoreJvm-1.x" ,
3838 " KotlinStdlibJdk7-2.x" ,
3939 " KotlinStdlibJdk8-2.x"
4040 ],
Original file line number Diff line number Diff line change 1+ {
2+ "id" : " 347d905e-25a5-49be-9d32-4fbf9305e85d" ,
3+ "type" : " misc" ,
4+ "description" : " Upgrade to kotlinx.coroutines 1.9.0"
5+ }
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ dokka-version = "1.9.10"
55aws-kotlin-repo-tools-version = " 0.4.10"
66
77# libs
8- coroutines-version = " 1.8.1 "
8+ coroutines-version = " 1.9.0 "
99atomicfu-version = " 0.24.0"
1010okhttp-version = " 5.0.0-alpha.14"
1111okhttp4-version = " 4.12.0"
1212okio-version = " 3.9.0"
1313otel-version = " 1.32.0"
1414slf4j-version = " 2.0.9"
1515slf4j-v1x-version = " 1.7.36"
16- crt-kotlin-version = " 0.8.8 "
16+ crt-kotlin-version = " 0.8.9 "
1717micrometer-version = " 1.13.2"
1818
1919# codegen
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import kotlin.test.assertEquals
1515import kotlin.test.assertIs
1616import kotlin.time.Duration.Companion.milliseconds
1717import kotlin.time.Duration.Companion.seconds
18- import kotlin.time.ExperimentalTime
1918import kotlin.time.TestTimeSource
2019import kotlin.time.TimeSource
2120
@@ -107,7 +106,7 @@ class StandardRetryTokenBucketTest {
107106 }
108107}
109108
110- @OptIn(ExperimentalCoroutinesApi ::class , ExperimentalTime :: class )
109+ @OptIn(ExperimentalCoroutinesApi ::class )
111110private fun TestScope.tokenBucket (
112111 useCircuitBreakerMode : Boolean = false,
113112 initialTryCost : Int = 0,
Original file line number Diff line number Diff line change @@ -11,10 +11,9 @@ import kotlinx.coroutines.test.currentTime
1111import kotlinx.coroutines.test.testTimeSource
1212import kotlin.test.assertEquals
1313import kotlin.time.Duration
14- import kotlin.time.ExperimentalTime
1514import kotlin.time.measureTimedValue
1615
17- @OptIn(ExperimentalCoroutinesApi ::class , ExperimentalTime :: class )
16+ @OptIn(ExperimentalCoroutinesApi ::class )
1817suspend fun <T > TestScope.assertTime (expectedDuration : Duration , block : suspend () -> T ): T {
1918 val (result, actualDuration) = testTimeSource.measureTimedValue { block() }
2019
Original file line number Diff line number Diff line change @@ -14,11 +14,10 @@ import kotlinx.coroutines.test.testTimeSource
1414import kotlin.test.Test
1515import kotlin.test.assertEquals
1616import kotlin.time.Duration.Companion.seconds
17- import kotlin.time.ExperimentalTime
1817
1918private const val TOLERANCE = 0.0000005
2019
21- @OptIn(ExperimentalTime :: class , ExperimentalCoroutinesApi ::class )
20+ @OptIn(ExperimentalCoroutinesApi ::class )
2221class AdaptiveRetryIntegrationTest {
2322 @Test
2423 fun testCubicCases () = runTest {
You can’t perform that action at this time.
0 commit comments