D21793: [PendingFileQueueTest] Use synthetic timer events to speedup test

Stefan BrĂ¼ns noreply at phabricator.kde.org
Fri Jun 14 00:34:01 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich, poboiko.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  Waiting 5 seconds until the pending file queue has been processed slows
  down the tests significantly, instead of waiting for the time to pass
  inject events with appropriate timestamps, the real timer events are
  filtered out. This shortens the runtime from 7.6 to 2.6 seconds.
  
  The first test still uses real timers, to check if the chained triggering
  of the timers from the slots work.

TEST PLAN
  ctest

REPOSITORY
  R293 Baloo

BRANCH
  pendingfilequeue

REVISION DETAIL
  https://phabricator.kde.org/D21793

AFFECTED FILES
  autotests/unit/file/pendingfilequeuetest.cpp

To: bruns, #baloo, ngraham, astippich, poboiko
Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190613/dd947b37/attachment.html>


More information about the Kde-frameworks-devel mailing list