From 5f10c83d190d658ec3a260314219e527c78c5799 Mon Sep 17 00:00:00 2001 From: Mahesh Raju Somalaraju Date: Fri, 21 Nov 2025 11:14:27 +0530 Subject: [PATCH] [Do not Review] check if test case failure catching in tez ci --- .../common/shuffle/impl/TestSimpleFetchedInputAllocator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/shuffle/impl/TestSimpleFetchedInputAllocator.java b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/shuffle/impl/TestSimpleFetchedInputAllocator.java index a9a78a976c..0671682cc5 100644 --- a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/shuffle/impl/TestSimpleFetchedInputAllocator.java +++ b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/common/shuffle/impl/TestSimpleFetchedInputAllocator.java @@ -118,6 +118,9 @@ public void testInMemAllocationWithJvmMaxMemory() throws IOException { // check if requestSize is greater than maxSingleShuffleLimit assertTrue(requestSize > inputManager.maxSingleShuffleLimit); + // check if really test case failure catch in tez ci + assertTrue(requestSize < inputManager.maxSingleShuffleLimit); + // requestSize is greater than the maxSingleShuffleLimit, so allocation is from DISK FetchedInput fi1 = inputManager.allocate(requestSize, compressedSize, new InputAttemptIdentifier(1, 1)); assertEquals(FetchedInput.Type.DISK, fi1.getType());