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

ARTEMIS-3716 move e2e tests to e2e-tests module #3980

Closed
wants to merge 1 commit into from

Conversation

tlbueno
Copy link
Contributor

@tlbueno tlbueno commented Mar 9, 2022

Move all tests which are related to end-to-end testing from smoke-tests module to a new e2e-tests module.

These e2e tests are those which are dependent of ContainerService class. ContainerService class uses artemis inside a container by using the testcontainers library and for that reason these tests are usually a quite slow and tecnically they are not a smoke test.

The new e2e-tests module is part of tests module but it is not enabled by default and to get executed it requires the e2e-tests profile specification on maven command.

@jbertram
Copy link
Contributor

jbertram commented Mar 9, 2022

IMO this needs a Jira. At the very least it needs a rebase to pick up 67c9df1 which should allow the build checks to finish normally.

Also, please update the commit message to follow the recommendations from the hacking guide.

Thanks!

@tlbueno tlbueno changed the title NO-JIRA move end-to-end tests from smoke-tests to e2e-tests module ARTEMIS-3716 move e2e tests to e2e-tests module Mar 10, 2022
@tlbueno
Copy link
Contributor Author

tlbueno commented Mar 10, 2022

IMO this needs a Jira. At the very least it needs a rebase to pick up 67c9df1 which should allow the build checks to finish normally.

Also, please update the commit message to follow the recommendations from the hacking guide.

Thanks!

@jbertram,

Thank you for the suggestions!
I rebased the code, opened a jira, updated the PR title and the commit message title to match the recommendation.

@clebertsuconic
Copy link
Contributor

@tlbueno the e2e-tests should only run if you enable the profile -De2e-tests.. the fast tests are failing on the PR check

I want to make sure there are no compilation or check-stye issues introduced.. but we should not run the e2e-tests on the GitHub actions.

Move all tests which are related to end-to-end testing from smoke-tests
module to a new module named e2e-tests.

These e2e tests are those which are dependent of ContainerService
class. ContainerService class uses artemis inside a container by using
the testcontainers library and for that reason these tests are usually
a quite slow and tecnically they are not a smoke test.

The new e2e-tests module is part of tests module but it is not enabled
by default and to get executed it requires the e2e-tests profile
specification on maven command.
@tlbueno
Copy link
Contributor Author

tlbueno commented Mar 21, 2022

@tlbueno the e2e-tests should only run if you enable the profile -De2e-tests.. the fast tests are failing on the PR check

I want to make sure there are no compilation or check-stye issues introduced.. but we should not run the e2e-tests on the GitHub actions.

@clebertsuconic now I think it is correct. The e2e-tests are getting built (compiled/verified) but not executed unless the -Pe2e-tests is provided.

Comment on lines +145 to +147
<modules>
<module>e2e-tests</module>
</modules>
Copy link
Contributor

Choose a reason for hiding this comment

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

this is moot and it could be removed...

I'm removing it as I merge your commit.

@asfgit asfgit closed this in 978b7d2 Mar 21, 2022
@tlbueno tlbueno deleted the e2e-tests branch April 8, 2024 12:02
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