Skip to content

Commit b1ba919

Browse files
committed
fixtroubleshooting
1 parent a38a6e2 commit b1ba919

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
@@ -137,7 +137,7 @@ describe('Tracer integration tests', () => {
137137

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

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

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

0 commit comments

Comments
 (0)