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

Testplan files_primary_s3 1.2.0 #528

Closed
GeraldLeikam opened this issue Dec 28, 2021 · 0 comments
Closed

Testplan files_primary_s3 1.2.0 #528

GeraldLeikam opened this issue Dec 28, 2021 · 0 comments

Comments

@GeraldLeikam
Copy link
Contributor

GeraldLeikam commented Dec 28, 2021

files_primary_s3 Test Plan

Setup

Setup details (click to view)

oc_release.sh app:get files_primary_s3

Have a primary storage configured for all files in the system (Scality or Ceph preferred, Minio is not officially supported), see https://buildmedia.readthedocs.org/media/pdf/s3-server/doc-adddoc/s3-server. p12*

Testing functionality


Test Case Expected Result Result Related Comment
Create 3 users, upload several files with user1 (some in a subfolder), share some with user2, using user2 share some with user3. Using user3 download one of the files. No problems. User3 can download the file. ✔️
Rename a file, in root and in a subsubfolder. Files are renamed without problems. ✔️
Connect desktop client. Sync a small file to the server of about 1MiB. Download it with web interface. File is uploaded and downloaded correctly. ✔️
Connect desktop client. Sync a file of ca 256MiB to the server, download it with web interface. File is uploaded and downloaded correctly. ✔️
Federate share a folder and a file with another server which doesn't use objectstore. Receiver can interact with the folder and file shared. ✔️
Federate share a folder and a file from another server which doesn't use objectstore with the server using objectstore. User in objectstore server can interact with the folder shared. ✔️
Favorite several files and folders. Unfavorite them. Refresh page. Files are favorited and unfavorited without problems. Check that state remains after refreshing. ✔️
As user1: Public share a folder and a file. Folder and file can be used normally by anonymous users. ✔️
Add comments to a shared file with several users. No errors found. ✔️
Add comments to a shared folder with several users. No errors found. ✔️
Add tags to a shared folder with several users. No errors found. ✔️
Search tags previously assigned. No errors found. ✔️
Check that activity is correctly recorded. No errors found. ✔️
Set logging level to INFO. Check that user file actions are logged by admin audit. Actions are logged correctly. ✔️
Using the URL provided by user1: 1. enter the link.(without being logged in, use a different browser or have the cache cleaned) 2. Upload an existing file. You can choose between cancel the upload and renaming the file. ✔️
Known issues from the past
As admin user create a user "user1" and share a folder "SHARED" with "user1". As "user1" upload some files to root folder. Favorite them, add comments and tags. Move those files into "SHARED" folder received from admin user. FileID should be kept after moving to a shared folder as recipient. All metadata must still be there, favorites, comments and tags. ✔️
As admin user upload a file bigger than 5GB using web ui. File can be uploaded, finishing correctly joining the chunks without problems. ✔️
As admin user connect desktop client and sync a file bigger than 5GB. File can be uploaded, finishing correctly joining the chunks without problems. ✔️
As admin user upload a new file to the root folder. Check versions of that file. It doesn't have any version. No version is created when uploading a new file. ✔️ #278 #156 #67
As admin user create three users "user1", "user2" and "user3". As "user1" upload a file "file.txt". As "user1" share "file.txt" with "user3". Run occ files:transfer-ownership user1 user2. "user2" gets "user1"'s files, including shares."user3" can still have access to the shared file "file.txt". ✔️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant