meven added a comment.

  In D20838#492751 <https://phabricator.kde.org/D20838#492751>, @dfaure wrote:
  
  > Strange, I'm pretty sure I was able to reproduce it locally before I wrote 
my comment here. But now I can't anymore. OK, to be further investigated when 
either of us have time.
  
  
  I have an hypothesis concerning the issue, and why we have a hard time 
reproducing it ourselves.
  
  I had to add a wait in the test to make it predictable, which I am not proud 
of :
  
  line 490 in kfilewidgettest.cpp
  
    // once we drop a file the dirlister scans the dir
    // wait a bit to the dirlister time to finish
    QTest::qWait(100);
  
  So this may work well on fast systems like my owns with SSD but on CI with 
less resources this might not be long enough.
  Either we can extend a bit this wait and hope for the best or maybe if you 
see a way to actually get an IO signal when the dirlister is done.

REPOSITORY
  R241 KIO

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

To: meven, ngraham, #frameworks
Cc: dfaure, elvisangelaccio, apol, kde-frameworks-devel, LeGast00n, sbergeron, 
michaelh, ngraham, bruns

Reply via email to