emiliosetiadarma commented on code in PR #6262: URL: https://github.com/apache/nifi/pull/6262#discussion_r934792257
########## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/replication/TestThreadPoolRequestReplicator.java: ########## @@ -246,8 +250,9 @@ public void testCompleteOnError() { }, null, 0L, new IllegalArgumentException("Exception created for unit test")); } - @Test(timeout = 15000) - public void testMultipleRequestWithTwoPhaseCommit() { + @Test + @Timeout(value = 15000, unit = TimeUnit.MILLISECONDS) Review Comment: Making the changes ########## nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/replication/TestThreadPoolRequestReplicator.java: ########## @@ -317,7 +317,8 @@ public NodeConnectionStatus answer(InvocationOnMock invocation) throws Throwable return coordinator; } - @Test(timeout = 15000) + @Test + @Timeout(value = 15000, unit = TimeUnit.MILLISECONDS) Review Comment: Making the changes -- 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-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org