D8698: Fix KProtolInfoTest if krusader is installed

2017-11-07 Thread Nathaniel Graham
ngraham added a comment.


  Is the same problem present in the non-test code? I just noticed 
https://bugs.kde.org/show_bug.cgi?id=384991, which seems to report a similar or 
identical issue.

REPOSITORY
  R241 KIO

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

To: elvisangelaccio, dfaure
Cc: ngraham, #frameworks


D8698: Fix KProtolInfoTest if krusader is installed

2017-11-07 Thread Elvis Angelaccio
elvisangelaccio created this revision.
elvisangelaccio added a reviewer: dfaure.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  Krusader has a `krarc` ioslave that handles zip files. If krusader is
  installed, `testProtocolForArchiveMimetype` randomly fails depending on
  the order the `zip` and `krarc` protocols are added to the cache.
  
  This patch makes sure the test always passes.

TEST PLAN
  Run `kprotocolinfotest` with krusader installed.

REPOSITORY
  R241 KIO

BRANCH
  kprotocolinfo-krarc

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

AFFECTED FILES
  autotests/kprotocolinfotest.cpp

To: elvisangelaccio, dfaure
Cc: #frameworks