File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,8 @@ - (void)testUnsentReportsUnderLimit {
177
177
[self .existingReportManager.operationQueue waitUntilAllOperationsAreFinished ];
178
178
179
179
// Reports with events should be kept if there's less than MAX_UNSENT_REPORTS reports
180
- XCTAssertEqual ([[self contentsOfActivePath ] count ], FIRCLSMaxUnsentReports);
180
+ XCTAssertEqual ([[self contentsOfActivePath ] count ], FIRCLSMaxUnsentReports,
181
+ @" Contents of active path: %@ " , [self contentsOfActivePath ]);
181
182
XCTAssertEqual (self.existingReportManager .unsentReportsCount , FIRCLSMaxUnsentReports);
182
183
XCTAssertEqual (self.existingReportManager .existingUnemptyActiveReportPaths .count ,
183
184
FIRCLSMaxUnsentReports);
@@ -208,7 +209,8 @@ - (void)testUnsentReportsOverLimit {
208
209
[self .existingReportManager.operationQueue waitUntilAllOperationsAreFinished ];
209
210
210
211
// Remove any reports over the limit, starting with the oldest
211
- XCTAssertEqual ([[self contentsOfActivePath ] count ], FIRCLSMaxUnsentReports);
212
+ XCTAssertEqual ([[self contentsOfActivePath ] count ], FIRCLSMaxUnsentReports,
213
+ @" Contents of active path: %@ " , [self contentsOfActivePath ]);
212
214
XCTAssertEqual (self.existingReportManager .unsentReportsCount , FIRCLSMaxUnsentReports);
213
215
XCTAssertEqual (self.existingReportManager .existingUnemptyActiveReportPaths .count ,
214
216
FIRCLSMaxUnsentReports);
You can’t perform that action at this time.
0 commit comments