-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Move EC2 Discovery Tests to Mock Rest API #50605
Move EC2 Discovery Tests to Mock Rest API #50605
Conversation
Move EC2 discovery tests to using the mock REST API introduced in elastic#50550 instead of mocking the AWS SDK classes manually. Move the trivial remaining AWS SDK mocks to the single test suit that was using them.
Pinging @elastic/es-distributed (:Distributed/Discovery-Plugins) |
Thanks @original-brownbear, sorry for missing this when it was opened. Looks good; would you merge master just in case something's changed in the past month-and-a-bit? |
@DaveCTurner thanks for taking a look :) Merged in |
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
Thanks David! |
Move EC2 discovery tests to using the mock REST API introduced in elastic#50550 instead of mocking the AWS SDK classes manually. Move the trivial remaining AWS SDK mocks to the single test suit that was using them.
Improving these tests like we did for S3 away from mocks:
Move EC2 discovery tests to using the mock REST API introduced in
#50550 instead of mocking
the AWS SDK classes manually.
Move the trivial remaining AWS SDK mocks to the single test suit that
was using them.