Skip to content

Use Correct Enum in Wipe Snapshots Test Method #40422

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

Merged

Conversation

original-brownbear
Copy link
Contributor

  • Mistake was made in Wipe Snapshots Before Indices in RestTests #39662
  • The response deserialized here is org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse which uses org.elasticsearch.snapshots.SnapshotInfo which uses org.elasticsearch.snapshots.SnapshotState and not the shard state

thanks for finding this @dakrone

* Mistake was made in elastic#39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
@original-brownbear original-brownbear added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v7.0.0 v8.0.0 v7.2.0 v6.7.1 labels Mar 25, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Armin

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

Oops. LGTM.

@original-brownbear
Copy link
Contributor Author

Jenkins test this

@original-brownbear
Copy link
Contributor Author

Jenkins run elasticsearch-ci/bwc

@dakrone
Copy link
Member

dakrone commented Mar 25, 2019

@elasticmachine run elasticsearch-ci/bwc

@original-brownbear
Copy link
Contributor Author

thanks @dakrone and @DaveCTurner !

@original-brownbear original-brownbear merged commit da23c89 into elastic:master Mar 26, 2019
@original-brownbear original-brownbear deleted the fix-wrong-enum-in-test branch March 26, 2019 06:04
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 26, 2019
* Mistake was made in elastic#39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 26, 2019
* Mistake was made in elastic#39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 26, 2019
* Mistake was made in elastic#39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
original-brownbear added a commit that referenced this pull request Mar 26, 2019
* Mistake was made in #39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
original-brownbear added a commit that referenced this pull request Mar 26, 2019
* Mistake was made in #39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
original-brownbear added a commit that referenced this pull request Mar 26, 2019
* Mistake was made in #39662
* The response deserialized here is `org.elasticsearch.action.admin.cluster.snapshots.get.GetSnapshotsResponse` which uses `org.elasticsearch.snapshots.SnapshotInfo` which uses `org.elasticsearch.snapshots.SnapshotState` and not the shard state
@original-brownbear original-brownbear restored the fix-wrong-enum-in-test branch August 6, 2020 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test Issues or PRs that are addressing/adding tests v6.7.1 v7.0.0-rc2 v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants