mirror of
https://github.com/serverless/serverless.git
synced 2026-02-01 16:07:28 +00:00
test(AWS Lambda): Fix propagation time allowance
This commit is contained in:
parent
5f5c3307e3
commit
877d474d58
@ -84,7 +84,7 @@ describe('AWS - FileSystemConfig Integration Test', function() {
|
||||
// here we retry it to avoid that issue
|
||||
if (
|
||||
e.code === 'EFSMountFailureException' &&
|
||||
Date.now() - startTime > EFS_MAX_PROPAGATION_TIME
|
||||
Date.now() - startTime < EFS_MAX_PROPAGATION_TIME
|
||||
) {
|
||||
console.info('Failed to invoke, retry');
|
||||
return self();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user