-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CERT-TEST-FAILURE] Test_TC_IDM_5_2.yaml test cases 3 and 4 should expect TIMEOUT? #33936
Comments
This appears to be quite deliberate in the code - see https://github.com/project-chip/connectedhomeip/blob/master/src/app/TimedHandler.cpp#L69. @bzbarsky-apple - I know this was three years ago, but do you recall what part of the spec was being referenced here? Do we have a spec conflict? |
Found it - please see https://github.com/CHIP-Specifications/connectedhomeip-spec/commit/0bd0e4f937ebaf84d6ebe7dc22e79c5af605bc2a. Error was changed, it would appear that the SDK and tests were not updated. |
Yeah, code was written 3 years ago, spec stealth-changed 2 years ago.... :( |
* TC-IDM-5.2: Fix status code in test and SDK Please see: #33936 * Fix unit tests We have unit tests! They didn't match the spec, but they exist! One for two is still better than 0 for 2. * Fix unit test * Fix error on write request with incorrect timed request flag Please see #33952 (comment) This was changed in the spec, but not in the SDK or unit tests. The unit test here covers this, but we should consider adding it to the cert testing as well. Please see CHIP-Specifications/chip-test-plans#4256 * fix write in test as well
* TC-IDM-5.2: Fix status code in test and SDK Please see: project-chip#33936 * Fix unit tests We have unit tests! They didn't match the spec, but they exist! One for two is still better than 0 for 2. * Fix unit test * Fix error on write request with incorrect timed request flag Please see project-chip#33952 (comment) This was changed in the spec, but not in the SDK or unit tests. The unit test here covers this, but we should consider adding it to the cert testing as well. Please see CHIP-Specifications/chip-test-plans#4256 * fix write in test as well
@Apollon77 closing the issue given SDK and test plan issues are closed. Feel free to reopen if you still think this issue needs to be addressed. |
Feature Area
Other
Test Case
Test_TC_IDM_5_2
Reproduction steps
The test cases 3 and 4 are frommmy perspective testing a Invoke/Write interaction with an expired TimedInteraction before.
connectedhomeip/src/app/tests/suites/certification/Test_TC_IDM_5_2.yaml
Line 90 in a12a0c0
When I check specs (1.1+) it tells e.g.
and for read:
This test here expects UnsupportedAccess as error.
Do I miss anything or is the test defined wrong or the specticification?
Bug prevalence
came back as error from a current 1.1 certification
GitHub hash of the SDK that was being used
master
Platform
core
Anything else?
No response
The text was updated successfully, but these errors were encountered: