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

[chore] vcenterreceiver Updates Scraper Tests To Represent More Diverse Environment #32607

Conversation

StefanKurek
Copy link
Contributor

@StefanKurek StefanKurek commented Apr 22, 2024

Description:
No user facing changes.

Updated the scraper unit tests of the vcenterreceiver to represent a more interesting environment (Multiple hosts, multiple VMs, a vApp). This will change the expected results, but will also highlight some of the odd issues that I've been noticing (and hopefully will make future PRs to fix some of these issues a little more painless).

Also cleaned up the mock server and XML response files in general so they were a little easier to follow.

Link to tracking Issue:
N/A

Testing:
Unit tests passing with updated (but expected) results.

Documentation:
None needed.

@StefanKurek StefanKurek requested a review from djaglowski as a code owner April 22, 2024 20:07
@StefanKurek StefanKurek requested a review from a team April 22, 2024 20:07
@github-actions github-actions bot requested a review from schmikei April 22, 2024 20:08
@StefanKurek StefanKurek force-pushed the chore/vcenterreceiver-update-scraper-tests branch 4 times, most recently from 6f32105 to 607bcc3 Compare April 22, 2024 21:34
Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

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

LGTM

@StefanKurek StefanKurek force-pushed the chore/vcenterreceiver-update-scraper-tests branch 2 times, most recently from 7aedbbb to 6e01de5 Compare April 23, 2024 13:38
@djaglowski
Copy link
Member

Waiting on #32639 to resolve CI failures

@StefanKurek StefanKurek force-pushed the chore/vcenterreceiver-update-scraper-tests branch from b426bc2 to 42ec3b6 Compare April 23, 2024 16:06
@StefanKurek StefanKurek force-pushed the chore/vcenterreceiver-update-scraper-tests branch from 42ec3b6 to 616a368 Compare April 23, 2024 16:23
@djaglowski djaglowski merged commit 17ebc7b into open-telemetry:main Apr 23, 2024
169 of 170 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 23, 2024
@StefanKurek StefanKurek deleted the chore/vcenterreceiver-update-scraper-tests branch April 23, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants