-
Notifications
You must be signed in to change notification settings - Fork 205
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
qat,e2e: add heartbeat and auto-reset validation #1839
Conversation
208171e
to
d1875c4
Compare
d1875c4
to
b9c6275
Compare
it's great to have a test case for this available! the implementation cannot rely on the Go code running on the same system that runs the plugin so some additional work is still needed. do you think it's useful to run the test as part of |
I'd move the test code to a "Context" that specifically tests the autoreset functionality. With the SKIP/FOCUS feature we can then enable it when the e2e nodes are upgraded to a kernel with autoreset. At least the SPR node doesn't seem to support it now. |
I at first thought to put in Context.It, but had no idea for putting a tag for that since others are all like [App: something]. Would it make sense to replace [App:noapp]? |
I'd add a new Context for this specific test and run one App inside of it (e.g. openssl). You could add a new tag to it, like "[Functionality:auto_reset]". It doesn't necessary fit with the other Contexts or Its but I'd be fine with it. |
@tkatila I see, but i would try in already existing contexts with new It()s..
Umm, is this functionality affect running an app? I am confused. |
Nevermind. My though was that instead of just testing for the error recovery, running a workload after the recovery would make sure that the device is actually recovered. Not just appearing to be. |
b9c6275
to
f1a60c2
Compare
@tkatila Aha, that actually makes sense. Let me add it also. |
5d8c87e
to
3506ae2
Compare
06c717e
to
76e18d7
Compare
20f554b
to
7e04d7e
Compare
7e04d7e
to
19efde5
Compare
it was only moved away from draft 15 hours ago and at least I haven't had the change to review it properly |
5ee6f7d
to
96a6b6b
Compare
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 job! Code looks much better now.
Signed-off-by: Hyeongju Johannes Lee <[email protected]>
The validation requires its runner to have specific kernel config. Until it is set, skip the e2e validation. When Resource:(cy/dc) is present in FOCUS, Functionality tests are automatically skipped. To make it look clear, remove it, and add Functionality in SKIP. Signed-off-by: Hyeongju Johannes Lee <[email protected]>
96a6b6b
to
7d3f3f3
Compare
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.
LGTM.
This is draft for suggesting an idea and getting opinions.!