Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing tests to be independent of system time zone #79

Merged
merged 1 commit into from
May 12, 2023

Conversation

stempler
Copy link
Member

...where the test is run.

I set up a GitHub Actions workflow to verify PRs on our fork but ran into an issue with two failing tests.
Taking a closer look it turned out the tests were failing in GitHub Actions because there the timezone is UTC, while on my local system with the German time zone they succeeded.

These changes make the tests independent of the system time zone. What I can't judge is if this problem only existed in the tests or if it has an impact anywhere else in the project.

@tfr42 tfr42 added the enhancement Improvement of existing feature or function label Mar 30, 2023
@stempler stempler force-pushed the pr/test-timezone-dependency branch from 28d76f1 to 02b5acd Compare April 12, 2023 07:30
@stempler stempler force-pushed the pr/test-timezone-dependency branch from 02b5acd to ec56e45 Compare May 12, 2023 08:17
@dstenger dstenger self-requested a review May 12, 2023 10:34
@copierrj copierrj merged commit 15064a0 into deegree:main May 12, 2023
@tfr42 tfr42 changed the title fix: test should be independent of system time zone Fixing tests to be independent of system time zone May 12, 2023
@stempler stempler deleted the pr/test-timezone-dependency branch May 12, 2023 13:18
@tfr42 tfr42 added this to the 1.3.0 milestone Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature or function
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants