Skip to content

Commit eb16898

Browse files
committed
test: increase timeout to 4min
1 parent c7ab458 commit eb16898

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Diff for: packages/tracing/tests/e2e/tracer.test.ts

+11-8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ describe('Tracer integration tests', () => {
9292
TEST_TABLE_NAME: table.tableName,
9393
},
9494
timeout: Duration.seconds(30),
95+
bundling: {
96+
externalModules: ['aws-sdk'],
97+
}
9598
});
9699
table.grantWriteData(fn);
97100
invocationsMap[functionName] = {
@@ -215,7 +218,7 @@ describe('Tracer integration tests', () => {
215218
}
216219
}
217220

218-
}, ONE_MINUTE * 3);
221+
}, ONE_MINUTE * 4);
219222

220223
it('Verifies that a when Tracer is used as middleware all custom traces are generated with correct annotations and metadata', async () => {
221224

@@ -285,7 +288,7 @@ describe('Tracer integration tests', () => {
285288
}
286289
}
287290

288-
}, ONE_MINUTE * 3);
291+
}, ONE_MINUTE * 4);
289292

290293
it('Verifies that a when Tracer is used as middleware, with errors & response capturing disabled, all custom traces are generated with correct annotations', async () => {
291294

@@ -354,7 +357,7 @@ describe('Tracer integration tests', () => {
354357
}
355358
}
356359

357-
}, ONE_MINUTE * 3);
360+
}, ONE_MINUTE * 4);
358361

359362
it('Verifies that a when tracing is disabled in middleware mode no custom traces are generated', async () => {
360363

@@ -378,7 +381,7 @@ describe('Tracer integration tests', () => {
378381
}
379382
}
380383

381-
}, ONE_MINUTE * 3);
384+
}, ONE_MINUTE * 4);
382385

383386
it('Verifies that a when Tracer is used as decorator all custom traces are generated with correct annotations and metadata', async () => {
384387

@@ -475,7 +478,7 @@ describe('Tracer integration tests', () => {
475478
}
476479
}
477480

478-
}, ONE_MINUTE * 3);
481+
}, ONE_MINUTE * 4);
479482

480483
it('Verifies that a when Tracer is used as decorator on an async handler all custom traces are generated with correct annotations and metadata', async () => {
481484

@@ -572,7 +575,7 @@ describe('Tracer integration tests', () => {
572575
}
573576
}
574577

575-
}, ONE_MINUTE * 3);
578+
}, ONE_MINUTE * 4);
576579

577580
it('Verifies that a when Tracer is used as decorator, with errors & response capturing disabled, all custom traces are generated with correct annotations', async () => {
578581

@@ -658,7 +661,7 @@ describe('Tracer integration tests', () => {
658661
}
659662
}
660663

661-
}, ONE_MINUTE * 3);
664+
}, ONE_MINUTE * 4);
662665

663666
it('Verifies that a when tracing is disabled in decorator mode no custom traces are generated', async () => {
664667

@@ -682,6 +685,6 @@ describe('Tracer integration tests', () => {
682685
}
683686
}
684687

685-
}, ONE_MINUTE * 3);
688+
}, ONE_MINUTE * 4);
686689

687690
});

0 commit comments

Comments
 (0)