]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: remove spurious argument to snap-schedule status command
authorMilind Changire <mchangir@redhat.com>
Wed, 4 May 2022 07:23:57 +0000 (12:53 +0530)
committerMilind Changire <mchangir@redhat.com>
Tue, 21 Feb 2023 02:05:22 +0000 (07:35 +0530)
Removing the subvol support exposed a spurious argument to the status
command which was assgned to the 'subvol' parameter but was unused in
this command implementation.

The spurious argument is now removed.

Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit b814630794abccb31f05e1efcd3b9f3e35cd3bec)

qa/tasks/cephfs/test_snap_schedules.py

index 4a9ce838ef7fc22ff2551c78ad3271eb20dd85f2..dbd8007638290e84691451ce336d5170025efe5f 100644 (file)
@@ -363,7 +363,7 @@ class TestSnapSchedules(TestSnapSchedulesHelper):
         log.debug(f'snapshots: {snapshots}')
 
         result = self.fs_snap_schedule_cmd('status', path=dir_path,
-                                           snap_schedule='1M', format='json')
+                                           format='json')
         json_res = json.loads(result)[0]
         db_count = int(json_res['created_count'])
         log.debug(f'json_res: {json_res}')