File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,15 @@ if [ -v aadClientSecret ]; then
72
72
if [ " $cloud " != " AzureChinaCloud" ]; then
73
73
# blobfuse mount/unmount on travis VM does not work against AzureChinaCloud
74
74
echo " mount volume test:"
75
- sudo $csc node publish --endpoint $endpoint --cap 1,block --target-path $target_path $volumeid
75
+ $csc node publish --endpoint $endpoint --cap 1,block --target-path $target_path $volumeid
76
76
retcode=$?
77
77
if [ $retcode -gt 0 ]; then
78
78
exit $retcode
79
79
fi
80
80
sleep 2
81
81
82
82
echo " unmount volume test:"
83
- sudo $csc node unpublish --endpoint $endpoint --target-path $target_path $volumeid
83
+ $csc node unpublish --endpoint $endpoint --target-path $target_path $volumeid
84
84
retcode=$?
85
85
if [ $retcode -gt 0 ]; then
86
86
exit $retcode
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ if [ -v aadClientSecret ]; then
36
36
sed -i " s/location-input/$location /g" $AZURE_CREDENTIAL_FILE
37
37
fi
38
38
39
- test/integration/run-test.sh " tcp://127.0.0.1:10000" " /tmp/testmount1" " AzurePublicCloud"
39
+ sudo test/integration/run-test.sh " tcp://127.0.0.1:10000" " /tmp/testmount1" " AzurePublicCloud"
40
40
41
41
# run test on AzureChinaCloud
42
42
if [ -v aadClientSecret_china ]; then
@@ -50,5 +50,5 @@ if [ -v aadClientSecret_china ]; then
50
50
sed -i " s/resourceGroup-input/${resourceGroup_china} /g" $AZURE_CREDENTIAL_FILE
51
51
sed -i " s/location-input/${location_china} /g" $AZURE_CREDENTIAL_FILE
52
52
53
- test/integration/run-test.sh " tcp://127.0.0.1:10001" " /tmp/testmount2" " AzureChinaCloud"
53
+ sudo test/integration/run-test.sh " tcp://127.0.0.1:10001" " /tmp/testmount2" " AzureChinaCloud"
54
54
fi
You can’t perform that action at this time.
0 commit comments