You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by GitBox <gi...@apache.org> on 2022/02/18 08:29:14 UTC

[GitHub] [tez] abstractdog commented on a change in pull request #190: TEZ-4383: upgrade to mockito 4.3.1

abstractdog commented on a change in pull request #190:
URL: https://github.com/apache/tez/pull/190#discussion_r809772891



##########
File path: tez-api/src/test/java/org/apache/tez/dag/api/TestEntityDescriptor.java
##########
@@ -69,12 +69,12 @@ public void testSegmentedWrite(InputDescriptor entityDescriptor, InputDescriptor
     entityDescriptor.write(out);
     out.close();
 
-    Mockito.verify(entityDescriptor).writeSegmented(eq(out), any(ByteBuffer.class));
+    verify(entityDescriptor).writeSegmented(eq(out), any());
     deserialized.readFields(new DataInputStream(new ByteArrayInputStream(bos.toByteArray())));
     verifyResults(entityDescriptor, deserialized, payload, confVal);
   }
 
-  @Test (timeout=1000)
+  @Test (timeout=3000)

Review comment:
       is this change needed?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@tez.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org