From c269b89b9603bcee5c0fd12760ada16f7663140b Mon Sep 17 00:00:00 2001 From: Zhenyu Zheng Date: Tue, 17 Dec 2019 14:31:37 +0800 Subject: [PATCH] HADOOP-16766: Increase timeout for RPCCallBenckmarik.testBenchmarkWithProto() Currently the timeout setting for org.apache.hadoop.ipc.TestRPCCallBenchmark.testBenchmarkWithProto() is 20 seconds, and on our ARM64 machine with 8 cores, it tooks about 60 seconds to finish the tests, so I want to propose to increase the timeout setting to 80 seconds, this will not affect tests on other platforms as they will finish in less than 20 secs. --- .../test/java/org/apache/hadoop/ipc/TestRPCCallBenchmark.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPCCallBenchmark.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPCCallBenchmark.java index 6d83d7d368cbd..4d3043de21c87 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPCCallBenchmark.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ipc/TestRPCCallBenchmark.java @@ -25,7 +25,7 @@ public class TestRPCCallBenchmark { - @Test(timeout=20000) + @Test(timeout=80000) public void testBenchmarkWithProto() throws Exception { int rc = ToolRunner.run(new RPCCallBenchmark(), new String[] {