Skip to content

Set the XDG_CACHE_HOME for tests #4572

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fendor
Copy link
Collaborator

@fendor fendor commented Apr 27, 2025

This makes sure each test run is independent.

Makes the tests

  • iface-error-test-1
  • iface-th-test

less flaky locally. On my machine, these tests were consistently failing after the first successful execution (due to caching the hiedb afaict.)
Should not have any effect on the CI flakiness issue.

This makes sure each test run is independent.

Makes the tests
* iface-error-test-1
* iface-th-test

less flaky locally.
Should not have any effect on the CI flakiness issue.
@fendor fendor force-pushed the fix/tests-xdg-cache-home branch from 1a34302 to 7df2e36 Compare April 27, 2025 13:54
@fendor fendor requested review from soulomoon and jhrcek April 27, 2025 14:26
Copy link
Collaborator

@soulomoon soulomoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But ghcide test is not running for this PR, do you know why it is skipped

@fendor
Copy link
Collaborator Author

fendor commented Apr 27, 2025

Ghcide test infrastructure was refactored to depend on `hls-test-utils`.
@fendor fendor requested a review from michaelpj as a code owner April 27, 2025 15:13
@fendor
Copy link
Collaborator Author

fendor commented Apr 27, 2025

Test failures all look genuine, so more investigation is required.

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.

3 participants