arkadius commented on a change in pull request #4773:
URL: https://github.com/apache/nifi/pull/4773#discussion_r604071129



##########
File path: 
nifi-commons/nifi-utils/src/test/java/org/apache/nifi/processor/TestFormatUtils.java
##########
@@ -103,4 +111,41 @@ public void testFormatDataSize() {
 
         assertEquals(String.format("181%s9 TB", 
decimalFormatSymbols.getDecimalSeparator()), 
FormatUtils.formatDataSize(200_000_000_000_000d));
     }
+
+    @Test
+    public void testParseInstant() throws Exception {
+        TimeZone current = TimeZone.getDefault();
+        TimeZone.setDefault(TimeZone.getTimeZone("Europe/Kiev"));

Review comment:
       Wow I wonder what kind of bug it was that it was related to this -/+ 
things? At the end subtraction is just an addition of negative number ;)  I've 
added all those combinations.




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