Skip to content

Commit 1a69430

Browse files
committed
Fix multiserver alias isolation smoke path
1 parent 82894cf commit 1a69430

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deploy/scripts/smoke-multiserver.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ assert_body "direct signed GET" "$direct_get_url"
186186
direct_head_url=$(sign_default_bucket_url HEAD "$DIRECT_SERVER" "$KEY" 2m)
187187
check_optional_head "direct signed" "$direct_head_url"
188188

189-
mutated_url=${blue_get_url/\/$BLUE_SERVER\//\/$GREEN_SERVER\/}
189+
mutated_url=${blue_get_url/\/$BLUE_SERVER\//\/$GREEN_SERVER\/$BUCKET\/}
190190
if [ "$mutated_url" = "$blue_get_url" ]; then
191-
echo "error: failed to mutate '$BLUE_SERVER' URL to '$GREEN_SERVER'" >&2
191+
echo "error: failed to mutate '$BLUE_SERVER' default-bucket URL to '$GREEN_SERVER' full-path URL" >&2
192192
exit 1
193193
fi
194194
assert_status "server alias signature isolation" "403" "$mutated_url"

0 commit comments

Comments
 (0)