Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: re-add object store primary storage phpunit tests #48235

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Sep 20, 2024

This was removed with #41003 but the object store related tests that were migrated there are not equivalent.

  • re-add tests
  • enable "preserve fileid when moving" test for object store
  • rework cross-storage move with object store. again
  • misc test fixes

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Sep 20, 2024
@icewind1991 icewind1991 added this to the Nextcloud 31 milestone Sep 20, 2024
@icewind1991 icewind1991 force-pushed the readd-object-store-phpunit branch 6 times, most recently from d22b132 to 15f5266 Compare September 26, 2024 11:55
@icewind1991 icewind1991 marked this pull request as ready for review September 26, 2024 20:21
@icewind1991 icewind1991 requested review from a team, Altahrim, nfebe and provokateurin and removed request for a team September 26, 2024 20:21
@@ -0,0 +1,121 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit primary object store
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what object-storage-s3.yml should do so I would not add a new one but just enable more tests there then.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The object-storage-* tests test the implementation of the object store. This tests how the/any object store integrates with the rest of the system

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is more of an integration test?

But what I meant is why not just add this as a step to the other workflow. Then one would only need to configure all services once and less work if something changes.

Signed-off-by: Robin Appelman <robin@icewind.nl>
…store

otherwise this causes confusion down the line as it's contents will be moved to the new cache

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>
@icewind1991 icewind1991 force-pushed the readd-object-store-phpunit branch from e37cfa2 to 3e12e1e Compare September 27, 2024 12:46
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense :)

@icewind1991 icewind1991 merged commit 1bf27e7 into master Oct 1, 2024
179 checks passed
@icewind1991 icewind1991 deleted the readd-object-store-phpunit branch October 1, 2024 13:11
@icewind1991
Copy link
Member Author

/backport to stable29

@icewind1991
Copy link
Member Author

backport for 28 has been merged into #48213

@icewind1991 icewind1991 mentioned this pull request Oct 1, 2024
3 tasks
@icewind1991
Copy link
Member Author

/backport to stable30

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.

3 participants