Skip to content

Commit 7c649ee

Browse files
committed
Fix launchIndex in the presence of ExtraRun and in-process SeparateLogic diagnosers.
1 parent 43df959 commit 7c649ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BenchmarkDotNet/Running/BenchmarkRunnerClean.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ private static (bool success, List<ExecuteResult> executeResults, List<Metric> m
568568
resolver,
569569
extraRunCompositeDiagnoser,
570570
compositeInProcessDiagnoser,
571-
launchCount + 1,
571+
++launchCount,
572572
Diagnosers.RunMode.ExtraRun);
573573

574574
if (executeResult.IsSuccess)
@@ -597,7 +597,7 @@ private static (bool success, List<ExecuteResult> executeResults, List<Metric> m
597597
resolver,
598598
separateLogicCompositeDiagnoser,
599599
compositeInProcessDiagnoser,
600-
launchCount + 1,
600+
++launchCount,
601601
Diagnosers.RunMode.SeparateLogic);
602602

603603
if (executeResult.IsSuccess)

0 commit comments

Comments
 (0)