Skip to content

Commit dc768f0

Browse files
committed
HIVE-28265: Increase TestAsyncPbRpcProxy timeout for Mockito inline on CI
Mockito inline + ByteBuddy class retransform can exceed 5s on busy Jenkins agents; use 60s test timeout to avoid flaky failures. Made-with: Cursor
1 parent ab425d3 commit dc768f0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

llap-client/src/test/org/apache/hadoop/hive/llap/TestAsyncPbRpcProxy.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232

3333
public class TestAsyncPbRpcProxy {
3434

35-
@Test (timeout = 5000)
35+
/** Mockito inline + first-time ByteBuddy retransform can exceed 5s on loaded CI agents. */
36+
private static final int TIMEOUT_MS = 60_000;
37+
38+
@Test(timeout = TIMEOUT_MS)
3639
public void testMultipleNodes() throws Exception {
3740
RequestManagerForTest requestManager = new RequestManagerForTest(1);
3841

@@ -62,7 +65,7 @@ public void testMultipleNodes() throws Exception {
6265
}
6366

6467
@org.junit.Ignore("HIVE-26089")
65-
@Test(timeout = 5000)
68+
@Test(timeout = TIMEOUT_MS)
6669
public void testSingleInvocationPerNode() throws Exception {
6770
RequestManagerForTest requestManager = new RequestManagerForTest(1);
6871

0 commit comments

Comments
 (0)