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

Suppress hdfsFixture if there are spaces in the path #30533

Merged

Conversation

DaveCTurner
Copy link
Contributor

HDFS sets its thread-name format based partly on a URL-encoded version of the
path, but the URL-encoding of spaces as %20 is interpreted as a field in the
formatted string of type 2, which is nonsensical. This change simply skips
these tests in this case.

Backport of #30302 to 5.6 - fails on local CI for obscure reasons, opening PR to verify it's just a local issue.

HDFS sets its thread-name format based partly on a URL-encoded version of the
path, but the URL-encoding of spaces as `%20` is interpreted as a field in the
formatted string of type `2`, which is nonsensical. This change simply skips 
these tests in this case.
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Delivery/Build Build or test infrastructure v5.6.10 labels May 11, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

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

@@ -229,6 +229,11 @@ if (Os.isFamily(Os.FAMILY_WINDOWS)) {
fixtureSupported = true
}

boolean legalPath = rootProject.rootDir.toString().contains(" ") == false
Copy link
Member

Choose a reason for hiding this comment

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

Maybe call it "allowedPath" or something like that. Legal sounds scary

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've left it as legalPath to avoid divergence between this and #30302 and its backports, but I can update them all to allowedPath if you would prefer. Let me know.

@DaveCTurner DaveCTurner merged commit 9667780 into elastic:5.6 May 16, 2018
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
@DaveCTurner DaveCTurner deleted the 2018-05-11-backport-30302-to-5.6 branch July 23, 2022 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v5.6.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants