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

Run WebDAV integration tests against S3 #34835

Merged
merged 3 commits into from
Mar 7, 2023
Merged

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Oct 27, 2022

Run webdav related tests against minio so we have some testing of real world file interaction behaviour in the CI.

This includes two fixes to let the tests pass properly.

  • First one ensures that the cache of storage statistics is properly reset if the user quota is changed. This is needed as other integration tests do not seem to run with caching enabled and therefore pass.
  • Second fix makes sure that the normalised path is used for caching the statistics and getting them from sabre uses the same path as other code paths.

Needed for #27034

@juliushaertl juliushaertl force-pushed the tests/integration-s3 branch 2 times, most recently from e9e9df4 to 69e8b42 Compare November 4, 2022 16:26
@juliushaertl
Copy link
Member Author

Other two failures seem related to running the tests with a memory cache in place:

Due to bdfef2d the quota is outdated for 5 minutes

@PVince81
Copy link
Member

@juliushaertl depending how you query it now, we removed the delay in some code paths, see #35308

however, some other code paths will need adjusting as well: #35421

@juliushaertl juliushaertl force-pushed the tests/integration-s3 branch 2 times, most recently from c534fd6 to 087de82 Compare February 3, 2023 21:37
@juliushaertl juliushaertl force-pushed the tests/integration-s3 branch 3 times, most recently from ee0fca0 to 1b2e380 Compare February 18, 2023 16:15
@juliushaertl juliushaertl added 3. to review Waiting for reviews tests Related to tests labels Feb 20, 2023
@juliushaertl juliushaertl added this to the Nextcloud 26 milestone Feb 20, 2023
@juliushaertl juliushaertl changed the base branch from master to bugfix/noid/sabre-nodes February 20, 2023 07:49
@juliushaertl
Copy link
Member Author

Can already be reviewed just waiting to remove the draft state until the required pr is in.

Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

Please update PR name and description to explain included fixes, or move these fixes to another PR, to help with the Changelog.

apps/provisioning_api/lib/Controller/UsersController.php Outdated Show resolved Hide resolved
lib/private/legacy/OC_Helper.php Outdated Show resolved Hide resolved
@juliushaertl juliushaertl changed the base branch from bugfix/noid/sabre-nodes to master February 21, 2023 10:25
@juliushaertl
Copy link
Member Author

Please update PR name and description to explain included fixes, or move these fixes to another PR, to help with the Changelog.

Sorry, I've updated the description accordingly and addressed your first feedback :)

@juliushaertl juliushaertl marked this pull request as ready for review February 21, 2023 17:53
@juliushaertl
Copy link
Member Author

Failure unrelated (fix is in #36799)

@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
@juliushaertl juliushaertl force-pushed the tests/integration-s3 branch 2 times, most recently from c61aab0 to f155e23 Compare March 2, 2023 21:22
@juliushaertl
Copy link
Member Author

/rebase

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl merged commit 9e73412 into master Mar 7, 2023
@juliushaertl juliushaertl deleted the tests/integration-s3 branch March 7, 2023 06:20
@juliushaertl
Copy link
Member Author

/backport to stable26

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 tests Related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants