Skip to content

Commit

Permalink
fix(sdk-metrics): change LastValueAggregation timer increment to 100ms
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Feb 6, 2023
1 parent c8a0395 commit f62ab0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk-metrics/test/aggregator/LastValue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ describe('LastValueAggregator', () => {
const accumulation2 = aggregator.createAccumulation([1, 1]);

accumulation1.record(2);
clock.tick(1);
clock.tick(100);
accumulation2.record(3);
// refresh the accumulation1
clock.tick(1);
clock.tick(100);
accumulation1.record(4);

assert.deepStrictEqual(
Expand Down Expand Up @@ -111,7 +111,7 @@ describe('LastValueAggregator', () => {
accumulation1.record(2);
accumulation2.record(3);
// refresh the accumulation1
clock.tick(1);
clock.tick(100);
accumulation1.record(4);

assert.deepStrictEqual(
Expand Down

0 comments on commit f62ab0d

Please sign in to comment.