-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 file_versions with chunking upload #33743
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The element-elements thing can be sorted out.
The other comment can be made a separate issue, if you like, or you can try writing a single step now or...
@@ -12,13 +12,39 @@ Feature: dav-versions | |||
When user "user0" uploads file "filesForUpload/davtest.txt" to "/davtest.txt" using the WebDAV API | |||
Then the version folder of file "/davtest.txt" for user "user0" should contain "0" elements | |||
|
|||
Scenario: Upload file and no version is available using various chunking methods | |||
When user "user0" uploads file "filesForUpload/davtest.txt" to "/davtest.txt" with all mechanisms using the WebDAV API | |||
Then the version folder of file "/davtest.txt-olddav-regular" for user "user0" should contain "0" elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is OK for now. But it makes the scenario steps have knowledge of the particular way with all mechanisms
uploading is implemented in the underlying code. Ideally there could be an equivalent Then
step for checking something common about the with all mechanisms
files that were uploaded. That step would know how to construct the relevant (4) file names...
7399f4d
to
7d5395f
Compare
Codecov Report
@@ Coverage Diff @@
## master #33743 +/- ##
============================================
- Coverage 64.35% 64.35% -0.01%
+ Complexity 18308 18307 -1
============================================
Files 1195 1195
Lines 69245 69240 -5
Branches 1276 1276
============================================
- Hits 44565 44560 -5
Misses 24308 24308
Partials 372 372
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #33743 +/- ##
============================================
- Coverage 64.35% 64.35% -0.01%
+ Complexity 18308 18307 -1
============================================
Files 1195 1195
Lines 69245 69240 -5
Branches 1276 1276
============================================
- Hits 44565 44560 -5
Misses 24308 24308
Partials 372 372
Continue to review full report at Codecov.
|
@phil-davis addressed comments, please review again |
backport in #33758 |
Description
various tests for file_versions in combination with chunking upload
some small fixes to the test code were needed because file_versions (list & restore) only work with the new webdav path
Related Issue
How Has This Been Tested?
🤖
Types of changes
Checklist:
Open tasks: