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

[Backport] fix and enable repository-hdfs secure tests (#44044) #44199

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

bizybot
Copy link
Contributor

@bizybot bizybot commented Jul 11, 2019

Due to recent changes are done for converting repository-hdfs to test
clusters (#41252), the integTestSecure* tasks did not depend on
secureHdfsFixture which when running would fail as the fixture
would not be available. This commit adds the dependency of the fixture
to the task.

The secureHdfsFixture is a AntFixture which is spawned a process.
Internally it waits for 30 seconds for the resources to be made available.
For my local machine, it took almost 45 seconds to be available so I have
added the wait time as an input to the AntFixture defaults to 30 seconds
and set it to 60 seconds in case of secure hdfs fixture.

The integ test for secure hdfs was disabled for a long time and so
the changes done in #42090 to fix the tests are also done in this commit.

Due to recent changes are done for converting `repository-hdfs` to test
clusters (elastic#41252), the `integTestSecure*` tasks did not depend on
`secureHdfsFixture` which when running would fail as the fixture
would not be available. This commit adds the dependency of the fixture
to the task.

The `secureHdfsFixture` is a `AntFixture` which is spawned a process.
Internally it waits for 30 seconds for the resources to be made available.
For my local machine, it took almost 45 seconds to be available so I have
added the wait time as an input to the `AntFixture` defaults to 30 seconds
 and set it to 60 seconds in case of secure hdfs fixture.

The integ test for secure hdfs was disabled for a long time and so
the changes done in elastic#42090 to fix the tests are also done in this commit.
@bizybot bizybot force-pushed the backport-44044-7x branch from 677ff61 to 4cb2190 Compare July 12, 2019 00:01
@bizybot bizybot merged commit 91c342a into elastic:7.x Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant