This is a prerequisite for testing the v2 implementation (NXDRIVE-20) and making a non-regression / performance bench: NXDRIVE-160.
Needs to be done on the 1.4 branch, then forward-ported to master.
Ideally we would like to have:
- Unit tests for each component / thread: local change detection, remote change detection, DAO, QueueManager, QueueProcessors, Application updater, ...
These tests should be single threaded. - Functional / integration tests testing simple synchronization scenarios on the whole multi-threaded application.
- A benchmark to process long running funcitonal testing on real-life complex scenarios, this is handled by NXDRIVE-160
We should put each existing test in one of these categories, refactoring it if needed. For instance:
- test_integration_local_client.py and test_integration_remote_file_system_client.py are unit tests
- test_integration_synchronization.py and test_integration_remote_changes.py are integration tests
Of course some tests will not make sense any more, and new ones will need to be added.
- depends on
-
NXDRIVE-176 Random failure at line 34, in test_drive_edit_non_synced_doc: NPE in DownloadServlet
- Resolved
-
NXDRIVE-150 Random failure at line 162, in test_delete_local_folder_2_clients
- Resolved
-
NXDRIVE-181 Random failure at ine 278, in test_drive_edit_remote_move_sync_root_to_non_sync_root
- Resolved
-
NXDRIVE-184 Random failure at line 231, in test_drive_edit_remote_move_non_sync_root_to_sync_root
- Resolved
-
NXDRIVE-310 Randomly failing tests because of inconsistent remote changes
- Resolved
-
NXDRIVE-169 Set up test framework compliant with the Qt multi-threaded app
- Resolved
- is duplicated by
-
NXDRIVE-189 Refactor functional test framework to run the ndrive program instead of relying on its implementation
- Resolved
- is required by
-
NXDRIVE-507 Eradicate random bugs
- Resolved
-
NXDRIVE-96 .part files seem to not be ignored by Watchdog
- Resolved
-
NXDRIVE-160 Create a bench for non-regression and performance
- Open