diff --git a/lib/plugins/aws/invokeLocal/index.test.js b/lib/plugins/aws/invokeLocal/index.test.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/aws/invokeLocal/index.test.js
+++ b/lib/plugins/aws/invokeLocal/index.test.js
@@ -1079,7 +1079,7 @@ describe('AwsInvokeLocal', () => {
           () => {
             log.debug('test target %o', serverless.cli.consoleLog.lastCall.args);
             const result = JSON.parse(serverless.cli.consoleLog.lastCall.args[0]);
-            expect(result.deadlineMs).to.be.closeTo(Date.now() + 6000, 1000);
+            expect(result.deadlineMs).to.be.closeTo(Date.now() + 6000, 2000);
           },
           error => {
             if (error.code === 'ENOENT' && error.path === 'ruby') {
test(AWS Local Invocation): Increase error margin