Skip to content

Commit 4e48970

Browse files
committed
fixtroubleshooting
1 parent d9e7b24 commit 4e48970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tracing/tests/e2e/tracer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ describe('Tracer integration tests', () => {
134134

135135
// Assess
136136
// Retrieve traces from X-Ray using Resource ARN as filter
137-
const sortedTraces = await getTraces(xray, startTime, resourceArn, invocations, 4);
137+
const sortedTraces = await getTraces(xray, startTime, resourceArn, invocations, 5);
138138

139139
for (let i = 0; i < invocations; i++) {
140140
// Assert that the trace has the expected amount of segments
@@ -149,7 +149,7 @@ describe('Tracer integration tests', () => {
149149
expect(handlerSubsegment.name).toBe('## index.handler');
150150
if (handlerSubsegment?.subsegments !== undefined) {
151151
// Assert that there are three subsegments
152-
expect(handlerSubsegment?.subsegments?.length).toBe(3);
152+
expect(handlerSubsegment?.subsegments?.length).toBe(2);
153153

154154
const [ AWSSDKSubsegment1, AWSSDKSubsegment2, HTTPSegment ] = handlerSubsegment?.subsegments;
155155
// Assert that the subsegment names are the expected ones

0 commit comments

Comments
 (0)