mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Improve tests timeout in face of failures
This commit is contained in:
parent
36d1fb5147
commit
ec3d8d2649
@ -934,7 +934,8 @@ describe('AwsInvokeLocal', () => {
|
||||
});
|
||||
|
||||
describe('context.remainingTimeInMillis', () => {
|
||||
it('should become lower over time', () => {
|
||||
it('should become lower over time', function () {
|
||||
this.timeout(3000); // On Windows it tends to timeout with 2000
|
||||
awsInvokeLocal.serverless.config.servicePath = __dirname;
|
||||
|
||||
return awsInvokeLocal.invokeLocalRuby(
|
||||
@ -948,7 +949,9 @@ describe('AwsInvokeLocal', () => {
|
||||
});
|
||||
|
||||
describe('calling a class method', () => {
|
||||
it('should execute', () => {
|
||||
it('should execute', function () {
|
||||
this.timeout(3000); // On Windows it tends to timeout with 2000
|
||||
|
||||
awsInvokeLocal.serverless.config.servicePath = __dirname;
|
||||
|
||||
return awsInvokeLocal.invokeLocalRuby(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user