Skip to content

Commit 59941d3

Browse files
committed
fix: flaky metric test
1 parent 0712141 commit 59941d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/metrics/metrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ describe('Test metrics with mock server', () => {
293293
attributes,
294294
);
295295
// Since we only have one attempt, the attempt latency should be fairly close to the operation latency
296-
assertApprox(MIN_LATENCY, attemptLatency, 30);
296+
assertApprox(operationLatency, attemptLatency, 30);
297297

298298
const gfeLatency = getAggregatedValue(gfeLatenciesData, attributes);
299299
assert.strictEqual(gfeLatency, 123);

0 commit comments

Comments
 (0)