Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

fix: E2E scale scenario broken if update is false #3852

Merged
merged 2 commits into from
Sep 22, 2020
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions test/e2e/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ fi
if [ "${SCALE_CLUSTER}" = "true" ]; then
nodepools=$(jq -r '.properties.agentPoolProfiles[].name' < _output/$RESOURCE_GROUP/apimodel.json)
for ((i = 0; i <= ${#nodepools[@]}; ++i)); do
if [ -n "$UPDATE_NODE_POOLS" ]; then
nodepool=$(jq -r --arg i $i '. | .properties.agentPoolProfiles[$i | tonumber].name' < _output/$RESOURCE_GROUP/apimodel.json)
nodepool=$(jq -r --arg i $i '. | .properties.agentPoolProfiles[$i | tonumber].name' < _output/$RESOURCE_GROUP/apimodel.json)
if [ "${UPDATE_NODE_POOLS}" = "true" ]; then
# modify the master VM SKU to simulate vertical vm scaling via upgrade
docker run --rm \
-v $(pwd):${WORK_DIR} \
Expand Down