Skip to content
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

at_c: functional tests for atclient->async_read=true #256

Open
5 tasks
JeremyTubongbanua opened this issue May 15, 2024 · 0 comments
Open
5 tasks

at_c: functional tests for atclient->async_read=true #256

JeremyTubongbanua opened this issue May 15, 2024 · 0 comments
Assignees

Comments

@JeremyTubongbanua
Copy link
Member

Write functional tests to ensure that CRUD operations (put, get, delete) and event operations (notify, monitor) work "correctly" atclient->async_read=true.

With async_read set to true, we allow delete and noop to be ran, but, we return an error if the caller tries to run put, get, or notify because these functions synchronously may need to get encryption keys.


Tests to be written:

  • Test that putting returns an error when async_read is true
  • Test that getting returns an error when async_read is true
  • Test that deleting works as normal when async_read is true
  • Test that notify returns an error when a async_read is true
  • Test that monitor works as normal when async_read is true, when a non-async client sends this monitor client a notification (this test requires 2 clients).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant