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

issue-183: Use tags instead of suites to separate tests #184

Merged
merged 12 commits into from
Jan 31, 2021

Conversation

steve-todorov
Copy link
Collaborator

@steve-todorov steve-todorov commented Jan 25, 2021

Pull Request Description

This pull request closes #183.

It is important to note this pull request has introduced two new profiles - it-s3 and it-minio which are used to trigger tests tagged with @S3IntegrationTest and @MinioIntegrationTest.

Acceptance Test

  • Building the code with mvn clean install -Punit-tests,it-minio,it-s3 still works.

Questions

  • Does this pull request break backward compatibility?

    • Yes
    • No
  • Does this pull request require other pull requests to be merged first?

    • Yes, please see #...
    • No
  • Does this require an update of the documentation?

    • Yes, please see [provide details here]
    • No

@steve-todorov
Copy link
Collaborator Author

Reported bugs were not introduced with this PR but simply reported here because tests are now executing.
Also, some of the reported new code smells are false-positives since it cannot detect the usage.

pom.xml Show resolved Hide resolved
@steve-todorov steve-todorov force-pushed the issues/183 branch 4 times, most recently from d84ef26 to d35f100 Compare January 26, 2021 03:04
@steve-todorov steve-todorov marked this pull request as ready for review January 26, 2021 03:04
@sonarcloud
Copy link

sonarcloud bot commented Jan 26, 2021

@steve-todorov
Copy link
Collaborator Author

steve-todorov commented Jan 26, 2021

The failing quality gate is related to decreased code coverage which seems to be because SonarQube is (for some unknown reason) ignoring the integration test reports. We should probably look into it as a follow-up. Other than that - this PR is ready.

@mslowiak mslowiak mentioned this pull request Jan 26, 2021
7 tasks
@carlspring
Copy link
Owner

Could you please create a follow-up task for this? Thanks!

@mslowiak
Copy link
Contributor

Could you please create a follow-up task for this? Thanks!

Follow up here:
#187

Copy link
Owner

@carlspring carlspring left a comment

Choose a reason for hiding this comment

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

LGTM! :)

This allows to reduce build time for running integration tests in CIs (i.e. when the unit tests have already ran in a previous build job and can safely be skipped in the current one)
…minio and finally it-s3

This should reduce S3 costs while running tests because MinIO has S3 compatible API.
If MinIO tests fail, it's highly likely the S3 ones will fail or succeed as well.
@steve-todorov steve-todorov force-pushed the issues/183 branch 2 times, most recently from 9f8ac79 to b314cf1 Compare January 31, 2021 06:40
@steve-todorov steve-todorov merged commit 937b68a into master Jan 31, 2021
@steve-todorov steve-todorov deleted the issues/183 branch January 31, 2021 07:15
@steve-todorov steve-todorov restored the issues/183 branch January 31, 2021 07:18
@steve-todorov steve-todorov deleted the issues/183 branch February 3, 2021 01:42
@steve-todorov steve-todorov mentioned this pull request Feb 3, 2021
2 tasks
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.

Use tags instead of suites to separate tests
3 participants