File tree 1 file changed +6
-0
lines changed
tests/MiniProfiler.Tests/Async
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -163,12 +163,18 @@ await Task.Run(() =>
163
163
AssertNear ( 5 , profiler . DurationMilliseconds , maxDelta : 2 ) ;
164
164
165
165
// Parent durations are sum of itself and children
166
+ Assert . NotNull ( timing10 ) ;
167
+ Assert . NotNull ( timing11 ) ;
166
168
AssertNear ( 2 , timing10 . DurationMilliseconds , maxDelta : 2 ) ;
167
169
AssertNear ( 1 , timing11 . DurationMilliseconds , maxDelta : 2 ) ;
168
170
171
+ Assert . NotNull ( timing20 ) ;
172
+ Assert . NotNull ( timing21 ) ;
169
173
AssertNear ( 3 , timing20 . DurationMilliseconds , maxDelta : 2 ) ;
170
174
AssertNear ( 1 , timing21 . DurationMilliseconds , maxDelta : 2 ) ;
171
175
176
+ Assert . NotNull ( timing30 ) ;
177
+ Assert . NotNull ( timing31 ) ;
172
178
AssertNear ( 4 , timing30 . DurationMilliseconds , maxDelta : 2 ) ;
173
179
AssertNear ( 1 , timing31 . DurationMilliseconds , maxDelta : 2 ) ;
174
180
}
You can’t perform that action at this time.
0 commit comments