51 Commits

Author SHA1 Message Date
Mariusz Nowak
989bd66469
test: Improve flow error handling 2020-10-28 09:26:14 +01:00
Mariusz Nowak
b41f9ab944
docs: Improve test documentation 2020-10-19 13:30:38 +02:00
Mariusz Nowak
86bcf91f5d
test(AWS Schedule): Increase timeout to ensure trigger is observed 2020-10-14 16:20:00 +02:00
Piotr Grzesik
c382d869a8
fix(AWS Stream): Fix support for lambdas with provisioned concurrency
(PR #8342)
2020-10-13 10:29:27 +02:00
Mariusz Nowak
c1428c247e
test(AWS Stream): Improve streams test 2020-10-12 16:56:08 +02:00
Mariusz Nowak
676f13f61e
test(AWS Schedule): Refactor with confirmCloudWatchLogs util 2020-10-12 15:15:17 +02:00
Ryan Roemer
661caad22d
fix(AWS Deploy): Ensure to handle right overriden package.artifact (#8351)
It's to handle special case related to how plugins as jetpack override internal packaging.

In this case `package.artifact` is overridden with pre-prepared archive placed in `.serverless` folder. That was not handled cleanly by Framework internals, and this patch fixes that
2020-10-09 17:43:14 +02:00
Mariusz Nowak
18c3ded0f0
test: Reorder info retrieval 2020-10-09 14:15:37 +02:00
Piotr Grzesik
7914dcb8c8
test: Fix filename typo (#8360) 2020-10-08 09:40:57 +02:00
Mariusz Nowak
e75339958f
test(AWS Cognito): Improve tests setup 2020-10-06 12:56:23 +02:00
Mariusz Nowak
ac34110852 fix(Variables): Fix support for ${self:} 2020-10-05 15:47:41 +02:00
Mariusz Nowak
5851bcadcf
fix(AWS Lambda): Revert inclusion of version hashi in env var (#8332)
This reverts commit 73c34b9f2bbe3b7c063a257a5b032b7460f263c0.

We need to revert it, as it'll break lambdas intended to back cloudFront distributions
2020-10-02 12:06:27 +02:00
Piotr Grzesik
34ad69f9bc
test(AWS SQS): Test integration with provisioned lambda (#8326) 2020-10-02 11:57:30 +02:00
Brent Jackson
73c34b9f2b
fix(AWS Lambda): Ensure version hash is in all cases effective (#8310)
In some instances the version hash may change due to a change involving
CloudFormation instrisic functions, but upon resolving the functions, the
resulting lambda configuration is identical to what is currently
deployed. This causes the Lambda::Version to fail to publish since AWS
sees the lambdas as identical.

This commit embeds an environment variable onto each lambda function with
the value of the version config hash, ensuring that anytime the config
hash changes, the resulting lambda configuration will be changed,
allowing a Lambda::Version to be published.
2020-10-01 18:20:08 +02:00
Mariusz Nowak
4a3216c9b1
test(AWS Cognito Pool): Prevent race condition failures
As observed e.g. here https://github.com/serverless/serverless/runs/1189045670
2020-10-01 13:34:07 +02:00
Piotr Grzesik
3ed97790ba
test(AWS Lambda): refactor EFS test to rely on infra (#8289) 2020-09-25 15:53:17 +02:00
Mariusz Nowak
8409d61e29
test(AWS Cognito): Improve logs handling 2020-09-24 16:09:19 +02:00
Matthieu Napoli
2fdeb51174
fix(Variables): Ensure no collisions with AWS CloudFormation variables
(PR #8279)
2020-09-24 15:31:02 +02:00
Patrick Withams
e43c889647
fix(AWS Lambda): Ensure version hash is affected by layer changes
(PR #8066)
2020-09-24 12:19:43 +02:00
Piotr Grzesik
05d703e6d5
feat(AWS MSK): Support MSK through "msk" event (#8164) 2020-09-24 10:23:09 +02:00
Mariusz Nowak
e241cc21db test(AWS HTTP API): Fix after drop for timeout support 2020-09-10 13:26:17 +02:00
Mariusz Nowak
0597cfb7b3 chore: Upgrade ESLint configuration to support ES2019 syntax 2020-09-10 13:26:17 +02:00
Mariusz Nowak
12b979c0d3 test(AWS HTTP API): FIx after default payload mode change 2020-09-10 13:26:17 +02:00
Mariusz Nowak
0bed880466
docs: Update test documentation 2020-09-09 12:01:24 +02:00
Mariusz Nowak
74634c3317 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
2aa1ae0603 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
6e84563551 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
704aa8dc93 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
14b4e92ba7 test: Improve test folder naming 2020-09-09 11:17:21 +02:00
Mariusz Nowak
19bae8dab3 test: Complete fixture 2020-09-09 11:17:21 +02:00
Mariusz Nowak
694e0de37d test: Improve naming of basic integration test 2020-09-09 11:17:21 +02:00
Mariusz Nowak
424da140e0 test(AWS SNS): Fix multiple result batch handling 2020-09-09 11:17:21 +02:00
Mariusz Nowak
c38f17593a test: Fix lint issue 2020-09-09 11:17:21 +02:00
Mariusz Nowak
b9b11e199f chore: Fix ESLint override setup 2020-09-09 11:17:21 +02:00
Mariusz Nowak
e71e6d802e test: Improve filenames convention 2020-09-09 11:17:21 +02:00
Mariusz Nowak
2134ae2eea test: Remove not used util 2020-09-09 11:17:21 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Mariusz Nowak
b6a5f0df8a
test(AWS SNS): Ensure to retrieve expected topic arn 2020-09-07 17:05:35 +02:00
Mariusz Nowak
146d9acaa5 test: Refactor to rely on fixtures setup 2020-09-04 14:06:31 +02:00
Mariusz Nowak
144cd2c0f2
test: Rely on external wait util 2020-09-03 12:32:10 +02:00
Mariusz Nowak
466526f3e8
test: Enforce 1 sec delay in confirmCloudWatchLogs 2020-09-03 12:30:35 +02:00
Mariusz Nowak
6dbb3e39c0
test: Rely on external wait util 2020-09-03 12:30:25 +02:00
Mariusz Nowak
dba1d7150f
test(AWS Stream): Ensure update inserts on repeat 2020-09-03 12:27:28 +02:00
Mariusz Nowak
9f7f9d3983 feat(CLI): Announce frameworkVersion requirement 2020-09-02 13:04:59 +02:00
Mariusz Nowak
9fb62f1138 feat(CLI): Optionally fallback to local installation of "serverless" 2020-09-02 13:04:59 +02:00
Mariusz Nowak
cec808bcdb test: Improve handling of triggeredDeprecations 2020-09-02 13:04:59 +02:00
Mariusz Nowak
ee2355eb85 test(AWS Lambda): Recognize EFSIOException error as recoverable 2020-09-02 10:06:18 +02:00
Mariusz Nowak
83c4b167ee feat(Analytics): Send info on reported deprecations 2020-08-31 15:23:58 +02:00
Mariusz Nowak
c45be699f7
test(AWS Cognito): Decrease intensity of requests 2020-08-28 22:19:38 +02:00
Mariusz Nowak
207165796a
test(AWS Lambda): Improve error handling in EFS tests 2020-08-28 22:16:26 +02:00