Comments (2)
I'm not sure if the test case is valid given that according to the spec "The TotalOperationalHours attribute SHALL indicate a best-effort attempt at tracking the length of time".
Overall, those "best-effort" features in Matter are very hard to verify. In this case, the challenge to implement this accurately is that storing the total operational hours too frequently into persistent storage would needlessly wear the flash. Given this and that the attribute has rather low significance for the user, we decided to save the attribute into flash every 10 hours (this is configurable with CONFIG_CHIP_OPERATIONAL_TIME_SAVE_INTERVAL
Kconfig option).
I can see that other platforms don't do even that and only save this value when the platform is gracefully shutdown, so if I understand correctly, hard reset will lose the number of operational hours since the last boot.
from connectedhomeip.
Hi @Damian-Nordic. Thanks so much for your quick reply! I confirmed again that this is an optional test, and your approach is much more appropriate. So I will close this issue.
from connectedhomeip.
Related Issues (20)
- The Sample All-Clusters App needs to be updated to address errors found while validating the TC-IDM-10.3 (Tests the cluster revisions on the DUT are the most recent per the spec).
- The sample all-clusters-app needs to be updated to address multiple errors reported while validating the TC-IDM-10.2 (Tests cluster conformance for features, attributes and commands across all endpoints test case)
- The sample all-clusters-app needs to be updated to address errors reported during the validation of TC-IDM-10.5(device conforms to the device type requirements on all endpoints TC)
- [CERT-TEST-FAILURE] TC_DEM_2.1 - Incorrect value displayed to user to check power capability (in kW not W)
- [CERT-TEST-FAILURE] When testing TC_DEM_2.1 with WaterHeater example, the ESA Type was EVSE
- The Sample TV-App needs to be updated to address errors found while validating the TC-IDM-10.3 (Tests the cluster revisions on the DUT are the most recent per the spec).
- The sample tv-app needs to be updated to address multiple errors reported while validating the TC-IDM-10.2 (Tests cluster conformance for features, attributes and commands across all endpoints test case)
- [BUG] src/access/tests/TestAccessControl.cpp Fails Under G++ 8.2.0 with 'const chip::Access::CheckData [57]{ ... }' Is Not a Constant Expression HOT 1
- [Documentation] ESP32 and other Example Explaination
- [Build] Unnecessary `using namespace std` creates ambiguity error to C++23 standard compiler.
- [TC-TBRM-2.4]: YAML script requires configuration update and endpoint flexibility HOT 1
- [ICD] kICDMonitoringBufferSize is too small to handle full "full width" node ID HOT 3
- [SVE] TC-MCORE-FS-1.3: Timeout too low for device discovery & commissioning from DUT
- [BUG] Wait for the commissioned device to be retrieved fails even though commissioning is successful HOT 1
- [CERT-TEST-FAILURE] [TC-TSTAT-1.1] ClusterRevision gets checked against the wrong value HOT 1
- [CERT-TEST-FAILURE] [TC-TSTAT-2.2] several test steps use hard-coded values for writing instead of the values read from another attribure
- Python testing - add a way to force reboot the app HOT 1
- [CHIPTool] Can't Not Read Information from Paired Device HOT 2
- [Workflow] `Run framework tests (leaks, ENABLE_LEAK_DETECTION=1)` failure HOT 3
- [Test Failed] TC-IDM-10.2 fails with the python script error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.