Upgrade to Coroutines 1.3.2

Closes gh-23663
This commit is contained in:
Sebastien Deleuze
2019-09-25 21:51:04 +02:00
parent c10dcec9ed
commit 091c512f0d
17 changed files with 1 additions and 36 deletions

View File

@@ -21,7 +21,6 @@ import io.rsocket.RSocketFactory
import io.rsocket.frame.decoder.PayloadDecoder
import io.rsocket.transport.netty.server.CloseableChannel
import io.rsocket.transport.netty.server.TcpServerTransport
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flow
@@ -49,7 +48,6 @@ import java.time.Duration
* @author Sebastien Deleuze
* @author Rossen Stoyanchev
*/
@ExperimentalCoroutinesApi
class RSocketClientToServerCoroutinesIntegrationTests {
@Test
@@ -105,7 +103,6 @@ class RSocketClientToServerCoroutinesIntegrationTests {
.verify(Duration.ofSeconds(5))
}
@ExperimentalCoroutinesApi
@Controller
class ServerController {
@@ -160,7 +157,6 @@ class RSocketClientToServerCoroutinesIntegrationTests {
@Configuration
open class ServerConfig {
@ExperimentalCoroutinesApi
@Bean
open fun controller(): ServerController {
return ServerController()

View File

@@ -18,7 +18,6 @@ package org.springframework.messaging.rsocket
import io.mockk.every
import io.mockk.mockk
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.toList
import kotlinx.coroutines.runBlocking
@@ -122,7 +121,6 @@ class RSocketRequesterExtensionsTests {
}
@Test
@ExperimentalCoroutinesApi
fun retrieveFlow() {
val requestSpec = mockk<RSocketRequester.RequestSpec>()
every { requestSpec.retrieveFlux(match<ParameterizedTypeReference<*>>(stringTypeRefMatcher)) } returns Flux.just("foo", "bar")