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

[Tests] Fix third party tests with Gradle 5.0 #36302

Merged
merged 2 commits into from
Dec 6, 2018

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Dec 6, 2018

This pull request fixes the build.gradle file so that it works with the Gradle 5.0 update (#34263).

It also makes use of the ignore: 404 header in REST tests so that previous snapshots are deleted as part of the test set up. This way each new test run with an external service should start with a fresh repository even if the previous test run failed and left snapshots in the repo. (This is a best effort as it does not fix a corrupted repository)

@tlrx tlrx added >test Issues or PRs that are addressing/adding tests :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.0.0 v6.6.0 v6.5.3 labels Dec 6, 2018
@tlrx tlrx requested a review from ywelsch December 6, 2018 11:14
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

s3EC2BasePath = 'integration_test'
s3ECSBucket = 'ecs-bucket-test'
s3ECSBasePath = 'integration_test'
}
Copy link
Contributor

Choose a reason for hiding this comment

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

should we throw an exception as well if only a subset of the options are present?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes we should, thanks

@tlrx tlrx merged commit 6186ccf into elastic:master Dec 6, 2018
@tlrx tlrx deleted the fix-third-party-tests branch December 6, 2018 15:05
@tlrx
Copy link
Member Author

tlrx commented Dec 6, 2018

Thanks @ywelsch

tlrx added a commit that referenced this pull request Dec 6, 2018
This pull request fixes the build.gradle file so that it
works with the Gradle 5.0 update (#34263).

It also makes use of the ignore: 404 header in REST tests
so that previous snapshots are deleted as part of the test
set up. This way each new test run with an external service
should start with a fresh repository even if the previous
test run failed and left snapshots in the repo. (This is a
best effort as it does not fix a corrupted repository)
tlrx added a commit that referenced this pull request Dec 6, 2018
This pull request fixes the build.gradle file so that it
works with the Gradle 5.0 update (#34263).

It also makes use of the ignore: 404 header in REST tests
so that previous snapshots are deleted as part of the test
set up. This way each new test run with an external service
should start with a fresh repository even if the previous
test run failed and left snapshots in the repo. (This is a
best effort as it does not fix a corrupted repository)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test Issues or PRs that are addressing/adding tests v6.5.3 v6.6.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants