Skip to content

Commit

Permalink
Bigger NwSocketTest read timeout (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-bader committed Nov 1, 2023
1 parent ee13d65 commit afff746
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion thrifty-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ abstract class IosTestTask extends DefaultTask {
}

tasks.register("iosTest", IosTestTask) {
dependsOn 'compileTestThrift'
dependsOn 'linkDebugTestIosX64'

group = JavaBasePlugin.VERIFICATION_GROUP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class NwSocketTest {
dispatch_async(clientQueue) {
try {
val port = nw_listener_get_port(serverListener)
SocketTransport.Builder("127.0.0.1", port.toInt()).readTimeout(100).build()
SocketTransport.Builder("127.0.0.1", port.toInt()).readTimeout(5000).build()
.use { transport ->
transport.connect()
val protocol = BinaryProtocol(transport)
Expand Down

0 comments on commit afff746

Please sign in to comment.