-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.10
-
Component/s: Nuxeo Drive
-
Tags:
-
Backlog priority:500
Currently we can simulate a remote error (network / server) when executing an Automation call or downloading a file by calling Controller.make_remote_raise()
We should also be able to:
- Test local device errors such as "IOError: No space left on device".
- Test a remote error during file upload (BaseAutomationClient.upload()).
- Simulate a remote or local error in the middle of an upload (BaseAutomationClient._read_data()) / download (RemoteFileSystemClient._do_get()).
Currently for download we only raise an IOError once the file is totally downloaded, yet this is OK as the exception is thrown before the .part file is renamed. - Take into acccount file size in IOError tests, for example to simulate a case where only the large files of a synchronized folder would fail but not the small ones.
- Not have the code testing a simulated error "pollute" the runtime code, but is this possible?
- depends on
-
NXP-14089 Drive: possible infinite loop when a pair is blacklisted
- Resolved