Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bigger NwSocketTest read timeout #544

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bigger NwSocketTest read timeout
  • Loading branch information
benjamin-bader committed Nov 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 6f6b02332728c6750932d5628dc0d9aecc006fb4
1 change: 0 additions & 1 deletion thrifty-runtime/build.gradle
Original file line number Diff line number Diff line change
@@ -221,7 +221,6 @@ abstract class IosTestTask extends DefaultTask {
}

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

group = JavaBasePlugin.VERIFICATION_GROUP
Original file line number Diff line number Diff line change
@@ -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)