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

Tests fail if apk plugin already installed #46

Open
pabloyoyoista opened this issue May 10, 2022 · 0 comments
Open

Tests fail if apk plugin already installed #46

pabloyoyoista opened this issue May 10, 2022 · 0 comments
Labels
bug Something isn't working upstream Needs changes upstream

Comments

@pabloyoyoista
Copy link
Collaborator

Testing locally seems to only be possible when the apk plugin is not already installed. When it is installed, the plugin loader loads both the local "dev" plugin and the plugin from the system directory (since we need to fetch upstream plugins like appstream from that directory). Therefore, each requested action is executed twice (once by each apk plugin) and tests have unexpected behavior. Current workaround I found is to remove the plugin from the system directory while doing the testing and then reinstall it.

This is an upstream issue and it is best solved discussing with upstream, but I want to document it here so I don't waste another morning in the future trying to figure out an already-known issue :)

@pabloyoyoista pabloyoyoista added bug Something isn't working upstream Needs changes upstream labels May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Needs changes upstream
Projects
None yet
Development

No branches or pull requests

1 participant