Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140017

Test QRandomAccessAsyncFile with mock filesystems

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Core: I/O
    • None

      The test for QRandomAccessAsyncFile currently cover all existing APIs, but they run on a local FS, where the overhead of all operations is small compared to NFS.

      Ideally, we need to check that it works as expected with really slow filesystems. In other words, we need to make sure that we do not block on the async operations.

      On Linux we can use some FUSE implementation (e.g. https://github.com/dimkr/overheadfs) and modify it to introduce extra delays in all operations.

      The potential implementations for macOS and Windows are TBD.

      At first, these checks can be implemented as a manual test.
      We can think about converting them to actual unit-test at some platforms later (e.g., it might be relatively easy to do it on Linux).

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cnn Qt Core & Network
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes