diff --git a/test/Exceptionless.Tests/Plugins/PluginTests.cs b/test/Exceptionless.Tests/Plugins/PluginTests.cs index e00b648c..753ee733 100644 --- a/test/Exceptionless.Tests/Plugins/PluginTests.cs +++ b/test/Exceptionless.Tests/Plugins/PluginTests.cs @@ -887,7 +887,7 @@ public void RunBenchmark() { foreach (var report in summary.Reports) { _writer.WriteLine(report.ToString()); - var benchmarkMedianMilliseconds = report.ResultStatistics.Median / 1000000; + var benchmarkMedianMilliseconds = report.ResultStatistics != null ? report.ResultStatistics.Median / 1000000 : 0; _writer.WriteLine(String.Format("{0} - {1:0.00}ms", report.Benchmark.DisplayInfo, benchmarkMedianMilliseconds)); } }