-
Notifications
You must be signed in to change notification settings - Fork 26
NvmFlash: fix using state.count when state.count is not valid #175
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
Conversation
bigbrett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great fix, great test additions - just need to rework how we simulate the failure without modifying the internals of the library with instrumentation
bigbrett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rizlik Great changes, just need to fix a quick bug in the tests and should be good to go
bigbrett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vunderbar
…L#175) * nvm_flash: fix using state.count when is not valid * wh_flash_ramsim: add support for simulating failures * test: nvm_flash: add test for recovery mechanism * test: add flash cb wrapper to inject failures * test: use fault injection to test recovery * Revert "wh_flash_ramsim: add support for simulating failures" This reverts commit a0f38f2. * wolfhsm: test: fix bad assert conditions
No description provided.