]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #47726 from neesingh-rh/wip-57201-pacific
authorYuri Weinstein <yweinste@redhat.com>
Tue, 14 Mar 2023 16:14:03 +0000 (09:14 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 16:14:03 +0000 (09:14 -0700)
pacific: mgr/snap_schedule: replace .snap with the client configured snap dir name

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
1  2 
qa/tasks/cephfs/test_snap_schedules.py

index 3ccd4d592011c1cc9273e54316ffbc358a67576e,f3899d82273d98ed5c482f3009a24ef05bb7a6d2..f4d3f51b1b46de7ece157057291b650183a346f3
@@@ -351,10 -352,10 +352,10 @@@ class TestSnapSchedules(TestSnapSchedul
          snap_path = f"{dir_path}/.snap"[1:]
          snapshots = self.mount_a.ls(path=snap_path)
          fs_count = len(snapshots)
-         log.debug(f'snapshots: {snapshots}');
+         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}')