@@ -154,9 +154,9 @@ public void WhenFirstOpeningFailedWithLockRetryDelayedUntilNextCheckpoint()
154
154
. WriteTo . File ( Path . Combine ( temp . Path , fileName ) , rollOnFileSizeLimit : true , fileSizeLimitBytes : 1 , rollingInterval : RollingInterval . Minute , hooks : new FailOpeningHook ( true , 2 , 3 , 4 ) )
155
155
. CreateLogger ( ) ;
156
156
LogEvent e1 = Some . InformationEvent ( new DateTime ( 2012 , 10 , 28 ) ) ,
157
- e2 = Some . InformationEvent ( e1 . Timestamp . AddMilliseconds ( 1 ) ) ,
158
- e3 = Some . InformationEvent ( e2 . Timestamp . AddMinutes ( 29 ) ) ,
159
- e4 = Some . InformationEvent ( e3 . Timestamp . AddMinutes ( 1 ) ) ;
157
+ e2 = Some . InformationEvent ( e1 . Timestamp . AddSeconds ( 1 ) ) ,
158
+ e3 = Some . InformationEvent ( e2 . Timestamp . AddMinutes ( 28 ) ) ,
159
+ e4 = Some . InformationEvent ( e3 . Timestamp . AddMinutes ( 3 ) ) ;
160
160
LogEvent [ ] logEvents = new [ ] { e1 , e2 , e3 , e4 } ;
161
161
162
162
foreach ( var logEvent in logEvents )
@@ -192,9 +192,9 @@ public void WhenFirstOpeningFailedWithLockRetryDelayed30Minutes()
192
192
. WriteTo . File ( Path . Combine ( temp . Path , fileName ) , rollOnFileSizeLimit : true , fileSizeLimitBytes : 1 , rollingInterval : RollingInterval . Hour , hooks : new FailOpeningHook ( true , 2 , 3 , 4 ) )
193
193
. CreateLogger ( ) ;
194
194
LogEvent e1 = Some . InformationEvent ( new DateTime ( 2012 , 10 , 28 ) ) ,
195
- e2 = Some . InformationEvent ( e1 . Timestamp . AddMilliseconds ( 1 ) ) ,
196
- e3 = Some . InformationEvent ( e2 . Timestamp . AddMinutes ( 29 ) ) ,
197
- e4 = Some . InformationEvent ( e3 . Timestamp . AddMinutes ( 1 ) ) ;
195
+ e2 = Some . InformationEvent ( e1 . Timestamp . AddSeconds ( 1 ) ) ,
196
+ e3 = Some . InformationEvent ( e2 . Timestamp . AddMinutes ( 28 ) ) ,
197
+ e4 = Some . InformationEvent ( e3 . Timestamp . AddMinutes ( 3 ) ) ;
198
198
LogEvent [ ] logEvents = new [ ] { e1 , e2 , e3 , e4 } ;
199
199
200
200
foreach ( var logEvent in logEvents )
@@ -229,9 +229,9 @@ public void WhenFirstOpeningFailedWithoutLockRetryDelayed30Minutes()
229
229
. WriteTo . File ( Path . Combine ( temp . Path , fileName ) , rollOnFileSizeLimit : true , fileSizeLimitBytes : 1 , rollingInterval : RollingInterval . Hour , hooks : new FailOpeningHook ( false , 2 ) )
230
230
. CreateLogger ( ) ;
231
231
LogEvent e1 = Some . InformationEvent ( new DateTime ( 2012 , 10 , 28 ) ) ,
232
- e2 = Some . InformationEvent ( e1 . Timestamp . AddMilliseconds ( 1 ) ) ,
233
- e3 = Some . InformationEvent ( e2 . Timestamp . AddMinutes ( 29 ) ) ,
234
- e4 = Some . InformationEvent ( e3 . Timestamp . AddMinutes ( 1 ) ) ;
232
+ e2 = Some . InformationEvent ( e1 . Timestamp . AddSeconds ( 1 ) ) ,
233
+ e3 = Some . InformationEvent ( e2 . Timestamp . AddMinutes ( 28 ) ) ,
234
+ e4 = Some . InformationEvent ( e3 . Timestamp . AddMinutes ( 3 ) ) ;
235
235
LogEvent [ ] logEvents = new [ ] { e1 , e2 , e3 , e4 } ;
236
236
237
237
foreach ( var logEvent in logEvents )
0 commit comments