Currently writing smashbox tests for locking.
- I created an artificial lock on a folder, which never expires.
- Create a new file in that folder locally
- Try to sync
Expected
The cmd terminates ❓
Actual
It never terminates,
From the sync log:
<<#### Post-Reconcile end #################################################### 214
file2.dat - server replied: Locked" QVariant(int, 423)
[...]
Restarting Sync, because another sync is needed
This happens forever.
Now I can see that it may be useful, to have the client retrying.
However it would be nice (for testing purpose) to have something like a --max-sync-retries settings, which then terminates the client, with an error exit code.
cc @guruz
Currently writing smashbox tests for locking.
Expected
The cmd terminates ❓
Actual
It never terminates,
From the sync log:
This happens forever.
Now I can see that it may be useful, to have the client retrying.
However it would be nice (for testing purpose) to have something like a
--max-sync-retriessettings, which then terminates the client, with an error exit code.cc @guruz