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

Skip test suite entirely for non-applicable distribution types #50824

Merged
merged 1 commit into from
Jan 9, 2020

Conversation

mark-vieira
Copy link
Contributor

We are getting loads of Windows packaging test failures while attempting to do cleanup for a test suite that shouldn't even run at all on Windows. This is due to the incorrect usage of the junit @Before instead of @BeforeClass annotation. So instead of skipping the suite entirely, we are skipping all individual tests but still trying to do post-test cleanup, which is entirely unnecessary in this case. This PR simply changes the annotation on the test predicate assertion method.

Signed-off-by: Mark Vieira <portugee@gmail.com>
@mark-vieira mark-vieira added :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v8.0.0 v7.6.0 v7.5.2 labels Jan 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Packaging)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-vieira mark-vieira merged commit 561216b into elastic:master Jan 9, 2020
@mark-vieira mark-vieira deleted the debmetadata-test-fix branch January 9, 2020 23:44
@polyfractal polyfractal added the >test Issues or PRs that are addressing/adding tests label Jan 15, 2020
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v7.5.2 v7.6.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants