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

Support running synchronizer tests from "Synchronization Status" #10430

Open
personalizedrefrigerator opened this issue May 14, 2024 · 0 comments
Labels
enhancement Feature requests and code enhancements

Comments

@personalizedrefrigerator
Copy link
Collaborator

Operating system

Linux

Joplin version

3.0.3

Desktop version info

No response

Current behaviour

Having a set of tests that can be run against the sync target could make it easier to debug some of the sync-related bug reports (e.g. this lock-related issue).

For example, the logs attached to this issue show that the sync error is related to lock files. I suspect that this is related to how React Native's fetch is interacting with the WebDAV server. Having a suite of tests that include writing, listing, updating, and deleting files on the sync target could help debug whether this is caused by a fetch issue.

Note:

  • Another option could be to have a plugin provide these tests. This would allow quickly updating the test suite without updating Joplin.
    • Drawback: This would require exposing additional APIs to plugins. This could, however, be mitigated by only providing these APIs to plugins with specific IDs.

Expected behaviour

No response

Logs

No response

@personalizedrefrigerator personalizedrefrigerator added bug It's a bug enhancement Feature requests and code enhancements and removed bug It's a bug labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and code enhancements
Projects
None yet
Development

No branches or pull requests

1 participant