diff options
| author | Méven Car <[email protected]> | 2026-06-18 10:41:57 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-06-18 12:13:24 +0000 |
| commit | 2a3c40dc15d49272a750959fb9a67fecba10a453 (patch) | |
| tree | 26c019d3f218013f3ed5af22eb6b1fafb59dd637 /po/lo/dolphin.po | |
| parent | b55e45f88e8ae63115f290fc2db847cb4b370c88 (diff) | |
tests: speed up testInsertAfterExpand
The test created a file in a collapsed subtree and then waited five
seconds for an items-inserted signal that must never arrive, spending
that whole time on every run and making kfileitemmodeltest about three
times slower than it needs to be.
Create a file in the watched top directory instead and wait for its
insertion. Once that arrives the directory change has been processed and
the model has settled, so the collapsed file has had its chance to appear
and only the expected items are present. The sentinel stays as a
top-level sibling, so the later re-expansion expects it alongside the
restored subtree.
testInsertAfterExpand drops from about 4.9 seconds to 1.6 seconds and the
whole kfileitemmodeltest from about 7.2 seconds to 2.4 seconds.
Diffstat (limited to 'po/lo/dolphin.po')
0 files changed, 0 insertions, 0 deletions
