exceptionfactory commented on PR #9196: URL: https://github.com/apache/nifi/pull/9196#issuecomment-2307802425
> @exceptionfactory Any ideas why the unit test I added failed on the JP and FR boxes? I suspect it has to do with the Timezone although I am not sure why my resetting of the Timezone did not work. Yes, overriding the time zone in a particular unit test method is not a reliable solution for testing, and the failures point to a different approach needed. This is part of the reason for each workflow running in different time zones, as it surfaces time zone specific assumptions. Instead of attempting to set the time zone, the expected values need to be constructed in a way that the resolved values matched the expected values. -- 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]
