laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.

Home Page:https://joplinapp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support running synchronizer tests from "Synchronization Status"

personalizedrefrigerator opened this issue · comments

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