You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
InstantTimestamp uses system timezone by default. This results that the test depends on the timezone where it is run. showed up in github workflow with +2 hour difference to expected values.
Expected behavior
Tests should work in any timezone
How to reproduce
Change timezone before test and run
@BeforeAll public static void setUp() { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); }
Adding this to InstantTimestampTest will show the tests that fail
Describe the bug
InstantTimestamp uses system timezone by default. This results that the test depends on the timezone where it is run. showed up in github workflow with +2 hour difference to expected values.
Expected behavior
Tests should work in any timezone
How to reproduce
Change timezone before test and run
@BeforeAll public static void setUp() { TimeZone.setDefault(TimeZone.getTimeZone("UTC")); }
Adding this to
InstantTimestampTest
will show the tests that failSoftware version
8.4.2
Additional context
Failed Run
The text was updated successfully, but these errors were encountered: