greyp9 commented on a change in pull request #5040:
URL: https://github.com/apache/nifi/pull/5040#discussion_r622542681



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/components/LongRunningTaskMonitorTest.java
##########
@@ -88,8 +90,7 @@ protected ThreadDetails captureThreadDetails() {
         assertEquals("Long running task detected on processor 
[id=Processor-1-ID, name=Processor-1-Name, type=Processor-1-Type]. Task time: 
60 seconds. Stack trace:\n" + STACKTRACE,
                 logMessages.getAllValues().get(0));
         assertEquals("Long running task detected on processor 
[id=Processor-2-ID, name=Processor-2-Name, type=Processor-2-Type]. Task time: 
1,000 seconds. Stack trace:\n" + STACKTRACE,
-                logMessages.getAllValues().get(1));
-
+                
logMessages.getAllValues().get(1).replace(NumberFormat.getInstance(Locale.getDefault()).format(1000),
 NumberFormat.getInstance(Locale.US).format(1000)));

Review comment:
       This test verifies EN locale log output, which works if we fix up the 
locale-specific log output.
   




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

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


Reply via email to