From 579c32f698dc6166ef63de476aec2dfe34f55e8e Mon Sep 17 00:00:00 2001 From: hello2mao Date: Wed, 27 Feb 2019 17:00:34 +0800 Subject: [PATCH] add test case --- test/create-and-delete/create-and-delete.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/create-and-delete/create-and-delete.sh b/test/create-and-delete/create-and-delete.sh index ed8b9e1..476f95d 100755 --- a/test/create-and-delete/create-and-delete.sh +++ b/test/create-and-delete/create-and-delete.sh @@ -3,7 +3,7 @@ startTime=`date +%Y%m%d-%H:%M` startTime_s=`date +%s` -for i in `seq 1 1`; +for i in `seq 1 2`; do kubectl create -f nginx.yaml status="Check: " @@ -22,4 +22,4 @@ done endTime=`date +%Y%m%d-%H:%M` endTime_s=`date +%s` sumTime=$[ $endTime_s - $startTime_s ] -echo "Test Finish: create-and-delete" "$startTime ---> $endTime" "Total:$sumTime minutes" \ No newline at end of file +echo "Test Finish: create-and-delete" "$startTime ---> $endTime" "Total: $sumTime s" \ No newline at end of file