-
Notifications
You must be signed in to change notification settings - Fork 355
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
Use consistent resource name and serial number for fake driver across different collections #620
Use consistent resource name and serial number for fake driver across different collections #620
Conversation
Codecov Report
@@ Coverage Diff @@
## master #620 +/- ##
==========================================
- Coverage 71.88% 71.86% -0.02%
==========================================
Files 141 141
Lines 12562 12570 +8
Branches 1499 1501 +2
==========================================
+ Hits 9030 9034 +4
- Misses 3017 3021 +4
Partials 515 515
|
"storage_id": self.storage_id, | ||
"native_storage_pool_id": "fake_original_id_" + str(idx), | ||
"native_storage_pool_id": "storagePool_" + str(idx), |
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.
Convention looks fine, how about using "native_" prefix for native ids just to differentiate it from name
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.
IMO which will be again confusing.. because in metric we keep resource_id as a common label for all resources.. It is supposed to be the native_id .. in order to avoid confusion lets keep resource name and native_id same..
Co-authored-by: Joseph Vazhappilly <josephvp@gmail.com>
LGTM |
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
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
What this PR does / why we need it:
Use similar naming pattern for resource names in resource and perf metric collection
Fix for #619
increased E2E tests sleep time to 5sec to give some time for the DB to get updated before the next test run
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #619Special notes for your reviewer:
This is to help delfin clients to test with fake driver
Release note: