Skip to content

Commit

Permalink
Update MetricAPITest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-max committed Sep 22, 2021
1 parent a33fae9 commit 9a9a330
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/OpenTelemetry.Tests/Metrics/MetricAPITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ void ProcessExport(Batch<Metric> batch)
// Block until all threads started.
mreToEnsureAllThreadsStarted.WaitOne();

Stopwatch sw = new Stopwatch();
sw.Start();
Stopwatch sw = Stopwatch.StartNew();

// unblock all the threads.
// (i.e let them start counter.Add)
Expand Down Expand Up @@ -354,8 +353,7 @@ void ProcessExport(Batch<Metric> batch)
// Block until all threads started.
mreToEnsureAllThreadsStarted.WaitOne();

Stopwatch sw = new Stopwatch();
sw.Start();
Stopwatch sw = Stopwatch.StartNew();

// unblock all the threads.
// (i.e let them start counter.Add)
Expand Down

0 comments on commit 9a9a330

Please sign in to comment.