Skip to content

Conversation

rnorth
Copy link

@rnorth rnorth commented Jul 22, 2025

When running tests locally, ConverterTest.testDateConverter was failing for me. It seems like the test would only pass when run in a UTC+2h timezone (setting the TZ env var confirms).

I've added an override for the JVM timezone during the particular test case in question, which enables the test to pass regardless of the contributor's location.

I also added @Test annotation to testLineLocalPortConverter method, which looked like it was accidentally omitted.

@rnorth rnorth force-pushed the deterministic-tz-in-test branch from 7036eac to e20df78 Compare July 22, 2025 11:06
Also add `@Test` annotation to `testLineLocalPortConverter` method, which looks like it was accidentally omitted.

Signed-off-by: Richard North <[email protected]>
@rnorth rnorth force-pushed the deterministic-tz-in-test branch from e20df78 to c7bde82 Compare July 22, 2025 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant