Darwin tests expect no endpoints to ever be added to all-clusters-app · Issue #34374 · project-chip/connectedhomeip · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__block NSMutableDictionary<NSNumber *, NSArray<NSNumber *> *> * initialClusterIndex = [[NSMutableDictionary alloc] init];
__block NSMutableArray<NSNumber *> * testEndpoints;
delegate.
XCTAssertNotNil(dataVersionForPartsList);
XCTAssertNotNil(testClusterDataValueForPartsList);
testEndpoints = [self getEndpointArrayFromPartsList:testDataForPartsList forDevice:device];
// Make sure that the cluster data in the data storage is populated with cluster index and cluster data for endpoints 0, 1 and 2.
// We do not need to check _persistedClusterData here. _persistedClusterData will be paged in from storage when needed so
// just checking data storage should suffice here.
dispatch_sync(self->_storageQueue, ^{
The test above (among others) expects exactly 3 endpoints enabled, and all of them to use NV storage.
This breaks the ability of anyone to change the composition of the all-clusters-app without cryptic failures related to low-level tests of the Darwin regression suite.
The text was updated successfully, but these errors were encountered:
Darwin tests have many assumptions that there are endpoints 0, 1, 2. Adding a 3rd endpoint breaks a lot of tests.
Example:
which relates to:
The test above (among others) expects exactly 3 endpoints enabled, and all of them to use NV storage.
This breaks the ability of anyone to change the composition of the all-clusters-app without cryptic failures related to low-level tests of the Darwin regression suite.
The text was updated successfully, but these errors were encountered: