File tree Expand file tree Collapse file tree 5 files changed +2
-5
lines changed
Tests/Unit-Tests/NewRelicAgentTests Expand file tree Collapse file tree 5 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ + (PersistentEventStore*) persistentEventStore
47
47
- (nonnull instancetype )init {
48
48
self = [super init ];
49
49
if (self) {
50
- events = [NRMAEventManager getLastSessionEventsArray ];
50
+ events = [[ NSMutableArray <NRMAAnalyticEventProtocol> alloc] init ];
51
51
maxBufferSize = [NRMAAgentConfiguration getMaxEventBufferSize ];
52
52
maxBufferTimeSeconds = [NRMAAgentConfiguration getMaxEventBufferTime ];
53
53
totalAttemptedInserts = 0 ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ - (nonnull instancetype)initWithFilename:(NSString *)filename
31
31
_lastSave = [NSDate new ];
32
32
_dirty = NO ;
33
33
_workQueue = [[NSOperationQueue alloc ] init ];
34
- [_workQueue setMaxConcurrentOperationCount: 1 ];
34
+ // [_workQueue setMaxConcurrentOperationCount:1];
35
35
}
36
36
return self;
37
37
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ - (void)setUp {
30
30
});
31
31
[NRMAFlags setFeatureFlags: 0 ];
32
32
33
- [NRMAAnalytics clearDuplicationStores ];
34
33
}
35
34
36
35
- (void )tearDown {
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ - (void)setUp {
46
46
- (void )tearDown {
47
47
// Put teardown code here. This method is called after the invocation of each test method in the class.
48
48
[NRMAFlags disableFeatures: NRFeatureFlag_NewEventSystem];
49
- [NRMAEventManager clearDuplicationStores ];
50
49
}
51
50
52
51
- (void )testRetrieveEventJSON {
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ @implementation NRMAURLSessionHeaderTrackingTests
35
35
- (void )setUp {
36
36
[super setUp ];
37
37
[NRMAFlags enableFeatures: NRFeatureFlag_NetworkRequestEvents | NRFeatureFlag_NewEventSystem];
38
- [NRMAAnalytics clearDuplicationStores ];
39
38
40
39
[NRMAURLSessionOverride beginInstrumentation ];
41
40
self.mockNewRelicInternals = [OCMockObject mockForClass: [NewRelicAgentInternal class ]];
You can’t perform that action at this time.
0 commit comments