Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_storage_azcopy_scenarios.py
  • Loading branch information
Jing-song committed Jun 11, 2021
commit 068f79250e2d609067486b2c26f792b16562ef7e
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def test_storage_azcopy_file_url(self, resource_group, storage_account_info, tes

import os
# Upload a single file
self.cmd('storage copy -s "{}" -d "{}"'
self.cmd('storage copy -s "{}" -d "{}" --cap-mbps 1.0'
.format(os.path.join(test_dir, 'readme'), share_url))
self.cmd('storage file list -s {} --account-name {}'
.format(share, storage_account), checks=JMESPathCheck('length(@)', 1))
Expand Down Expand Up @@ -699,7 +699,7 @@ def test_storage_azcopy_file_account(self, resource_group, storage_account_info,

import os
# Upload a single file
self.cmd('storage copy --source-local-path "{}" --destination-account-name {} --destination-share {}'
self.cmd('storage copy --source-local-path "{}" --destination-account-name {} --destination-share {} --cap-mbps 1.0'
.format(os.path.join(test_dir, 'readme'), storage_account, share))
self.cmd('storage file list -s {} --account-name {}'
.format(share, storage_account), checks=JMESPathCheck('length(@)', 1))
Expand Down