Skip to content

Commit

Permalink
Adjusting the sleep value
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruin-NR committed Oct 24, 2024
1 parent 5ca94aa commit 426de89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ - (void) testAutoCollectedLogs {
[NRLogger setRemoteLogLevel:NRLogLevelDebug];
XCTAssertTrue([NRAutoLogCollector redirectStandardOutputAndError]);

sleep(1);
sleep(5);

// Three messages should reach the remote log file for upload.
NSLog(@"NSLog Test \n\n");
Expand All @@ -273,7 +273,7 @@ - (void) testAutoCollectedLogs {
os_log_error(customLog, "This is an error os_log message.\n");
os_log_fault(customLog, "This is a fault os_log message.\n");

sleep(1);
sleep(5);
[NRAutoLogCollector restoreStandardOutputAndError];

NSError* error;
Expand Down

0 comments on commit 426de89

Please sign in to comment.