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

test(dot): fix two tests on MacOS #4284

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Conversation

haikoschol
Copy link
Contributor

@haikoschol haikoschol commented Oct 29, 2024

Changes

Properly initialize and shut down state.Service in Test_createSystemService and Test_createRuntimeStorage in the dot package.

Tests

on MacOS:

go test -run "^\QTest_createRuntimeStorage\E$" ./dot

Issues

Closes #4283

Copy link
Contributor

@jimjbrettj jimjbrettj left a comment

Choose a reason for hiding this comment

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

tested local on linux just to test, and works fine for me

Before this change, Test_createSystemService and
Test_createRuntimeStorage were failing on MacOS due to differences to
Linux wrt the unlinkat syscall.

Closes #4283
@haikoschol haikoschol merged commit 6bde6ad into development Oct 31, 2024
24 checks passed
@haikoschol haikoschol deleted the haiko/fix-tests-4283 branch October 31, 2024 09:05
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.

Some tests in the dot package fail on MacOS
3 participants