interop/stress: Remove wait-for-ready (#6773)

This commit is contained in:
Terry Wilson 2023-11-07 15:15:49 -08:00 committed by GitHub
parent f1a1fcd042
commit 482de22249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -219,27 +219,27 @@ func performRPCs(gauge *gauge, conn *grpc.ClientConn, selector *weightedRandomTe
test := selector.getNextTest() test := selector.getNextTest()
switch test { switch test {
case "empty_unary": case "empty_unary":
interop.DoEmptyUnaryCall(client, grpc.WaitForReady(true)) interop.DoEmptyUnaryCall(client)
case "large_unary": case "large_unary":
interop.DoLargeUnaryCall(client, grpc.WaitForReady(true)) interop.DoLargeUnaryCall(client)
case "client_streaming": case "client_streaming":
interop.DoClientStreaming(client, grpc.WaitForReady(true)) interop.DoClientStreaming(client)
case "server_streaming": case "server_streaming":
interop.DoServerStreaming(client, grpc.WaitForReady(true)) interop.DoServerStreaming(client)
case "ping_pong": case "ping_pong":
interop.DoPingPong(client, grpc.WaitForReady(true)) interop.DoPingPong(client)
case "empty_stream": case "empty_stream":
interop.DoEmptyStream(client, grpc.WaitForReady(true)) interop.DoEmptyStream(client)
case "timeout_on_sleeping_server": case "timeout_on_sleeping_server":
interop.DoTimeoutOnSleepingServer(client, grpc.WaitForReady(true)) interop.DoTimeoutOnSleepingServer(client)
case "cancel_after_begin": case "cancel_after_begin":
interop.DoCancelAfterBegin(client, grpc.WaitForReady(true)) interop.DoCancelAfterBegin(client)
case "cancel_after_first_response": case "cancel_after_first_response":
interop.DoCancelAfterFirstResponse(client, grpc.WaitForReady(true)) interop.DoCancelAfterFirstResponse(client)
case "status_code_and_message": case "status_code_and_message":
interop.DoStatusCodeAndMessage(client, grpc.WaitForReady(true)) interop.DoStatusCodeAndMessage(client)
case "custom_metadata": case "custom_metadata":
interop.DoCustomMetadata(client, grpc.WaitForReady(true)) interop.DoCustomMetadata(client)
} }
numCalls++ numCalls++
defer func() { atomic.AddInt64(&totalNumCalls, numCalls) }() defer func() { atomic.AddInt64(&totalNumCalls, numCalls) }()