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

e2e tests: Move to efficientgo/e2e #4610

Merged
merged 8 commits into from
Sep 28, 2021

Conversation

matej-g
Copy link
Collaborator

@matej-g matej-g commented Aug 27, 2021

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

This PR moves Thanos e2e test suite to https://github.com/efficientgo/e2e, in line with the aims set out in #3832 (comment) and #4579

This is a relatively large changeset, but keep in mind most of this is 'mechanical' replacement. Most crucial changes are done to the e2ethanos package, rest of the tests then follow these changes. Other notable changes:

Verification

Running E2E tests locally.

- Adjusts services to use e2e
- Simplifies some func signatures, remove redundant funcs etc.
- Adds service for reverse proxy (instead of using one on host)
- Adds service for Minio (a workaround, see issue in the func comment)

Signed-off-by: Matej Gera <matejgera@gmail.com>
- Mechanical replacement / adjustments to new services, package imports etc.

Signed-off-by: Matej Gera <matejgera@gmail.com>
Signed-off-by: Matej Gera <matejgera@gmail.com>
@matej-g matej-g changed the title e2e tests: Move to efficientgo efficientgo/e2e e2e tests: Move to efficientgo/e2e Aug 27, 2021
@yeya24
Copy link
Contributor

yeya24 commented Sep 12, 2021

@matej-g Is this ready for review now 😄

@matej-g
Copy link
Collaborator Author

matej-g commented Sep 12, 2021

@matej-g Is this ready for review now

Hey @yeya24, please see my comment in #4579 (comment) and the subsequent comment. The summary - this is open to review / feedback, but I did not wanted to undraft this until I fully understand the issue and to be sure the tests will not be flaking.

- Remove manually building hostname with netName
- Use InternalEndpoint instead
- Take advantage of future runnable to get hostname addresses for configs

Signed-off-by: Matej Gera <matejgera@gmail.com>
@matej-g matej-g marked this pull request as ready for review September 22, 2021 07:51
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the great work!

Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Amazing work 🤗

Must have been been tedious, but we got this done, thanks!

@bwplotka bwplotka merged commit 360b39e into thanos-io:main Sep 28, 2021
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.

3 participants