Skip to content

Speedup share tests - #60709

Merged
sorbaugh merged 8 commits into
masterfrom
test-speedup
Jun 9, 2026
Merged

Speedup share tests#60709
sorbaugh merged 8 commits into
masterfrom
test-speedup

Conversation

@icewind1991

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

  • Mock OCM discovery
  • Better dummy user/group backend usage
  • don't trigger cache gc during tests
  • reduce number of filesystem setups

Reduces time to run the share tests by ~2/3 in my testing

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@icewind1991 icewind1991 added this to the Nextcloud 35 milestone May 23, 2026
@icewind1991
icewind1991 requested a review from a team as a code owner May 23, 2026 17:40
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 23, 2026
@icewind1991
icewind1991 requested review from Altahrim, ArtificialOwl, CarlSchwan and salmart-dev and removed request for a team May 23, 2026 17:40
@icewind1991 icewind1991 changed the title Setup share tests Speedup share tests May 23, 2026
saves ~50s while running tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
saves ~5s

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@sorbaugh
sorbaugh merged commit 9fe9441 into master Jun 9, 2026
226 of 244 checks passed
@sorbaugh
sorbaugh deleted the test-speedup branch June 9, 2026 14:23
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants