Skip to content

Commit

Permalink
fix ownership issue with tests and S3
Browse files Browse the repository at this point in the history
  • Loading branch information
fernando-mc committed Dec 15, 2021
1 parent 73f321b commit 57faed3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/automated_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def remove():
# routing rules with "replaceKeyWith" se to empty string
os.system("cp ./config_files/routing-rules-redirect.yml ./serverless.yml")
os.system("sls client deploy --no-confirm")
res = s3.get_bucket_website(Bucket='sls-finch-test-routing-use1')
res = s3.get_bucket_website(Bucket='sls-finch-test-routing-use1-test-v2')
if res['RoutingRules'][0]["Redirect"]['ReplaceKeyWith'] != '':
raise Exception("Isn't setting ReplaceKeyWith with an empty string")
else:
Expand Down
2 changes: 1 addition & 1 deletion test/config_files/routing-rules-redirect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins:

custom:
client:
bucketName: sls-finch-test-routing-use1
bucketName: sls-finch-test-routing-use1-test-v2
indexDocument: index.html
errorDocument: error.html
routingRules:
Expand Down

0 comments on commit 57faed3

Please sign in to comment.