clebertsuconic commented on code in PR #6037:
URL: https://github.com/apache/activemq-artemis/pull/6037#discussion_r2510889250


##########
tests/artemis-test-support/src/main/java/org/apache/activemq/artemis/utils/RealServerTestBase.java:
##########
@@ -85,6 +85,20 @@ public void after() throws Exception {
       processes.clear();
    }
 
+
+   protected void jstack(long pid, String serverName) throws Exception {
+      try {
+         
System.out.println("*******************************************************************************************************************************");
+         System.out.println("jstack on " + serverName);
+         ExecuteUtil.runCommand(true, 1, TimeUnit.MINUTES, "jstack", "" + pid);
+         
System.out.println("*******************************************************************************************************************************");
+      } catch (Throwable e) {
+         logger.warn("Error executing jstack on Server 0", e);

Review Comment:
   serverName



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to