Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qa: set, get, list and remove custom metadata for subvolume
Following test are added: 1. Set custom metadata for subvolume. 2. Set custom metadata for subvolume(Idempotency). 3. Get custom metadata for specified key. 4. Get custom metadata if specified key not exist (Expecting error ENOENT). 5. Get custom metadata if no any key-value is added means section not exist (Expecting error ENOENT). 6. Update value for existing key in custom metadata. 7. List custom metadata of subvolume. 8. List custom metadata of subvolume if no any key-value is added (Expect empty json/dictionary) 9. Remove custom metadata for specified key. 10. Remove custom metadata if specified key not exist (Expecting error ENOENT). 11. Remove custom metadata if no any key-value is added means section not exist (Expecting error ENOENT). 12. Remove custom metadata with --force option. 13. Remove custom metadata with --force option if specified key not exist (Expecting command to succeed because of '--force' option) 14. Set and Get custom metadata for legacy subvolume. 15. List and Remove custom metadata from legacy subvolume. Fixes: https://tracker.ceph.com/issues/54472 Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
- Loading branch information