@@ -141,15 +141,14 @@ - (BOOL)reportPathAtIndex:(NSUInteger)index isReportID:(NSString *)reportID {
141
141
142
142
#pragma mark - Tests
143
143
144
- // This test has been disabled due to a flake
145
- #if FIRCLS_FLAKY_TESTS_ENABLED
146
144
- (void )testNoReports {
147
145
[self .existingReportManager collectExistingReports ];
148
146
149
147
[self .existingReportManager.operationQueue waitUntilAllOperationsAreFinished ];
150
148
151
149
// Reports without events should be deleted
152
- XCTAssertEqual ([[self contentsOfActivePath ] count ], 0 );
150
+ XCTAssertEqual ([[self contentsOfActivePath ] count ], 0 , @" Contents of active path: %@ " ,
151
+ [self contentsOfActivePath ]);
153
152
XCTAssertEqual (self.existingReportManager .unsentReportsCount , 0 );
154
153
XCTAssertEqual (self.existingReportManager .newestUnsentReport , nil );
155
154
XCTAssertEqual (self.existingReportManager .existingUnemptyActiveReportPaths .count , 0 );
@@ -164,12 +163,12 @@ - (void)testReportNoEvents {
164
163
[self .existingReportManager.operationQueue waitUntilAllOperationsAreFinished ];
165
164
166
165
// Reports without events should be deleted
167
- XCTAssertEqual ([[self contentsOfActivePath ] count ], 0 );
166
+ XCTAssertEqual ([[self contentsOfActivePath ] count ], 0 , @" Contents of active path: %@ " ,
167
+ [self contentsOfActivePath ]);
168
168
XCTAssertEqual (self.existingReportManager .unsentReportsCount , 0 );
169
169
XCTAssertEqual (self.existingReportManager .newestUnsentReport , nil );
170
170
XCTAssertEqual (self.existingReportManager .existingUnemptyActiveReportPaths .count , 0 );
171
171
}
172
- #endif
173
172
174
173
- (void )testUnsentReportsUnderLimit {
175
174
[self createActiveReportWithID: @" report_A" time: 12312 withEvents: YES ];
0 commit comments