Skip to content

fix(engine-rest): parse batch window after fixing clock - #3993

Merged
javahippie merged 1 commit into
mainfrom
fix/rest-batch-window-test-tz
Oct 27, 2026
Merged

javahippie merged 1 commit into
mainfrom
fix/rest-batch-window-test-tz

Conversation

@javahippie

Copy link
Copy Markdown
Contributor

The batch window tests in HistoryCleanupRestServiceInteractionTest parsed their time configuration before setting ClockUtil. The parsed times then used today's date and its DST offset. With Europe/Berlin (set in .mvn/maven.config), the expected window in testHistoryConfigurationOutsideBatchWindow shifted by one hour in winter.

The tests now set the clock first. Verified green with Europe/Berlin, UTC and America/New_York.

related to #3992

The batch window tests parsed their time configuration before
setting ClockUtil. The parsed times then used today's date and its
DST offset. With Europe/Berlin (set in .mvn/maven.config), the
expected window shifted by one hour in winter.

related to #3992
@github-actions github-actions Bot added lang:java Pull requests that update Java code scope:tests Changes affecting only test code labels Oct 27, 2026
@javahippie
javahippie merged commit ebabf8f into main Oct 27, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:java Pull requests that update Java code scope:tests Changes affecting only test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant