添加upload接口的demo

This commit is contained in:
pengxuanzheng
2020-10-09 14:19:37 +08:00
parent 0e48ab43ef
commit c537d85aec
3 changed files with 12 additions and 13 deletions

View File

@@ -4,13 +4,15 @@
# Created Time: Mon 21 Sep 2020 04:43:35 PM CST
#########################################################################
#!/bin/bash
test_size=("1k" "10k" "100k" "1M" "2M" "3M" "4M")
test_size=("1k" "10k" "100k" "1M" "2M" "3M" "4M" "5M" "10M" "20M" "30M")
num=0
while((${num} < 7))
while((${num} < 11))
do
echo ./hos_write_complete mybucket ${test_size[$num]}.data 1000
./hos_write_complete mybucket ${test_size[$num]}.data 1000
#echo ./hos_write_complete mybucket ${test_size[$num]}.data 10000
#./hos_write_complete mybucket ${test_size[$num]}.data 10000
echo ./hos_upload_complete mybucket ${test_size[$num]}.data 10000
./hos_upload_complete mybucket ${test_size[$num]}.data 10000
let "num++"
done