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

Add test cases for valkey-benchmark negative path #1038

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

Shivshankar-Reddy
Copy link
Contributor

@Shivshankar-Reddy Shivshankar-Reddy commented Sep 16, 2024

Added the test case to check the wrong host case for valkey-benchmark.

Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.63%. Comparing base (9f8185f) to head (ed4412b).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #1038      +/-   ##
============================================
+ Coverage     70.59%   70.63%   +0.03%     
============================================
  Files           114      114              
  Lines         61670    61670              
============================================
+ Hits          43538    43560      +22     
+ Misses        18132    18110      -22     

see 13 files with indirect coverage changes

@@ -37,6 +37,20 @@ tags {"benchmark network external:skip logreqres:skip"} {
default_set_get_checks
}

test {benchmark: negative path} {
set wrong_host 127.0.0.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hostnames/IPs and ports seem pretty basic; was there a specific reason to test these, or was it due to an edge case encountered or a broader fix?

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

Successfully merging this pull request may close these issues.

2 participants