Copilot commented on code in PR #7352:
URL: https://github.com/apache/hbase/pull/7352#discussion_r2390878851


##########
hbase-common/src/test/java/org/apache/hadoop/hbase/TimedOutTestsListener.java:
##########
@@ -40,7 +40,10 @@
  */
 public class TimedOutTestsListener extends RunListener {
 
-  static final String TEST_TIMED_OUT_PREFIX = "test timed out after";
+  private static final String TEST_TIMED_OUT_PREFIX = "test timed out after";
+
+  private static final DateTimeFormatter TIMESTAMP_FORMATTER =
+    DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss,SSS 
Z").withZone(ZoneId.systemDefault());

Review Comment:
   The date pattern 'HH:mm:ss' uses 24-hour format, but the original 
SimpleDateFormat used 'hh:mm:ss' which is 12-hour format. This changes the 
timestamp output format and may break existing log parsing or expectations.
   ```suggestion
       DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss,SSS 
Z").withZone(ZoneId.systemDefault());
   ```



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

Reply via email to