Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-170

Refactor functional test framework to run the ndrive program instead of relying on its implementation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.427
    • Component/s: Tests
    • Sprint:
      Sprint Drive 7.1-4, Sprint Drive 7.1-5, Sprint Drive 7.2-1, drive-8.1-3, drive-8.1-4
    • Story Points:
      13

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: