Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit f0c9156

Browse files
committed
fix an ebs-related test
1 parent e1cc404 commit f0c9156

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nancy_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function checkParams() {
548548
if [ ! -z ${EBS_VOLUME_SIZE+x} ]; then
549549
re='^[0-9]+$'
550550
if ! [[ $EBS_VOLUME_SIZE =~ $re ]] ; then
551-
err "ERROR: ebs-volume-size must be numeric integer value."
551+
err "ERROR: ebs-volume-size must be integer."
552552
exit 1
553553
fi
554554
else

tests/nancy_run_ebs_disk_size_warning.sh renamed to tests/nancy_run_ebs_disk_size_incorrect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ output=$(${BASH_SOURCE%/*}/../nancy run \
77
--tmp-path $srcDir/tmp \
88
2>&1)
99

10-
if [[ $output =~ "WARNING: ebs-volume-size is not required for aws i3 aws instances and local execution." ]]; then
10+
if [[ $output =~ "ERROR: ebs-volume-size must be integer." ]]; then
1111
echo -e "\e[36mOK\e[39m"
1212
else
1313
>&2 echo -e "\e[31mFAILED\e[39m"

0 commit comments

Comments
 (0)