-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure to deactivate log discaring while reenabling #639
Make sure to deactivate log discaring while reenabling #639
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #639 +/- ##
===========================================
+ Coverage 92.9% 93.15% +0.25%
===========================================
Files 207 207
Lines 14508 14563 +55
Branches 841 844 +3
===========================================
+ Hits 13478 13566 +88
+ Misses 1017 994 -23
+ Partials 13 3 -10
Continue to review full report at Codecov.
|
@@ -278,6 +278,10 @@ - (void)setEnabled:(BOOL)isEnabled andDeleteDataOnDisabled:(BOOL)deleteData { | |||
|
|||
// Prevent further logs from being persisted. | |||
self.discardLogs = YES; | |||
}else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space after }
id mockLog = [self getValidMockLog]; | ||
OCMReject([self.storageMock saveLog:[OCMArg any] withGroupId:[OCMArg any]]); | ||
|
||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the same comment style.
[self enqueueChannelEndJobExpectation]; | ||
}]; | ||
|
||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the same comment style.
No description provided.