File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Tests/Unit-Tests/NewRelicAgentTests/Uncategorized Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,9 @@ - (void) testRemoteLogLevels {
214
214
// Allow other scheduled run loop activities to proceed
215
215
[[NSRunLoop currentRunLoop ] runMode: NSDefaultRunLoopMode beforeDate: [NSDate dateWithTimeIntervalSinceNow: 0.1 ]];
216
216
}
217
+ if (!operationCompleted) {
218
+ NSLog (@" Failed to detect 7 writes to the log file." );
219
+ }
217
220
218
221
NSError * error;
219
222
NSData * logData = [NRLogger logFileData: &error];
@@ -303,7 +306,9 @@ - (void) testLocalLogLevels {
303
306
// Allow other scheduled run loop activities to proceed
304
307
[[NSRunLoop currentRunLoop ] runMode: NSDefaultRunLoopMode beforeDate: [NSDate dateWithTimeIntervalSinceNow: 0.1 ]];
305
308
}
306
-
309
+ if (!operationCompleted) {
310
+ NSLog (@" Failed to detect 4 writes to the log file." );
311
+ }
307
312
NSError * error;
308
313
NSData * logData = [NRLogger logFileData: &error];
309
314
if (error){
@@ -384,6 +389,9 @@ - (void) testAutoCollectedLogs {
384
389
// Allow other scheduled run loop activities to proceed
385
390
[[NSRunLoop currentRunLoop ] runMode: NSDefaultRunLoopMode beforeDate: [NSDate dateWithTimeIntervalSinceNow: 0.1 ]];
386
391
}
392
+ if (!operationCompleted) {
393
+ NSLog (@" Failed to detect 5 writes to the log file." );
394
+ }
387
395
388
396
[NRAutoLogCollector restoreStandardOutputAndError ];
389
397
You can’t perform that action at this time.
0 commit comments