-
Notifications
You must be signed in to change notification settings - Fork 702
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
Test coverage for ECHO for reply schema validation #1549
Test coverage for ECHO for reply schema validation #1549
Conversation
Signed-off-by: Viktor Söderqvist <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #1549 +/- ##
============================================
- Coverage 71.00% 70.93% -0.07%
============================================
Files 120 120
Lines 65061 65061
============================================
- Hits 46194 46154 -40
- Misses 18867 18907 +40 |
Signed-off-by: Viktor Söderqvist <[email protected]>
@@ -1220,7 +1220,7 @@ jobs: | |||
if: | | |||
(github.event_name == 'workflow_dispatch' || | |||
(github.event_name == 'schedule' && github.repository == 'valkey-io/valkey') || | |||
(github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'unstable')) && | |||
(github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'run-extra-tests') || github.event.pull_request.base.ref != 'unstable'))) && |
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.
@enjoy-binbin I was going to revert this change before merging. Sorry i didn't mention it.
I guess it's fine to run schema validator in run-extra-tests, but it takes one hour to run.
After valkey-io#1545 disabled some tests for reply schema validation, we now have another issue that ECHO is not covered. ``` WARNING! The following commands were not hit at all: echo ERROR! at least one command was not hit by the tests ``` This patch adds a test case for ECHO in the unit/other test suite. I haven't checked if there are more commands that aren't covered. Signed-off-by: Viktor Söderqvist <[email protected]> Signed-off-by: proost <[email protected]>
After #1545 disabled some tests for reply schema validation, we now have another issue that ECHO is not covered.
(https://github.com/valkey-io/valkey/actions/runs/12728730819/job/35479652660)
This patch adds a test case for ECHO in the unit/other test suite. I haven't checked if there are more commands that aren't covered.