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 10:23:37 UTC

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

LA-Toth commented on a change in pull request #190:
URL: https://github.com/apache/tez/pull/190#discussion_r809869390



##########
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:
       I'm not sure. Initially this test timed out with the original timeout value. I double check this one.




-- 
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