Skip to content

Commit

Permalink
qa/tasks/cephfs/test_nfs: fix export create test
Browse files Browse the repository at this point in the history
Everything after --readonly is non-positional.

Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
liewegas committed Jun 1, 2021
1 parent a75e422 commit d841944
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qa/tasks/cephfs/test_nfs.py
Expand Up @@ -348,7 +348,8 @@ def test_create_multiple_exports(self):
# Export-3 for subvolume with r only
self._cmd('fs', 'subvolume', 'create', self.fs_name, 'sub_vol')
fs_path = self._cmd('fs', 'subvolume', 'getpath', self.fs_name, 'sub_vol').strip()
self._create_export(export_id='3', extra_cmd=[self.pseudo_path+'2', '--readonly', fs_path])
self._create_export(export_id='3', extra_cmd=[self.pseudo_path+'2', '--readonly',
'--path', fs_path])
# Export-4 for subvolume
self._create_export(export_id='4', extra_cmd=[self.pseudo_path+'3', fs_path])
# Check if exports gets listed
Expand Down

0 comments on commit d841944

Please sign in to comment.