From 6dbd1d8f586f0fbfecee1ca57665ea75bd06b838 Mon Sep 17 00:00:00 2001 From: apolcyn Date: Fri, 27 May 2022 14:36:54 -0700 Subject: [PATCH] interop-testing: bump client op timeout from 5 to 15 seconds (#9211) JVM startup costs that happen when dependencies are loaded for the first time can consume a lot of time (we've occasionally observed around ~5 seconds of CPU time); this causes frequent test flakes with xds (google-c2p) when using the current 5 second deadline. Increasing to 15 seconds should give enough time. --- .../java/io/grpc/testing/integration/TestServiceClient.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java b/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java index 2e04c7bc3d..b53a677ec2 100644 --- a/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java +++ b/interop-testing/src/main/java/io/grpc/testing/integration/TestServiceClient.java @@ -619,6 +619,11 @@ public class TestServiceClient { return null; } } + + @Override + protected int operationTimeoutMillis() { + return 15000; + } } private static String validTestCasesHelpText() {