Skip to content

Conversation

@benwtrent
Copy link
Member

The transport only waits for the assignment explanation to NOT be AWAITING_UPGRADE and then it is returned. Since we are testing that MORE is done than that, that can cause a race condition in the test and make it flaky.

This code is all the way back in 6.7, will need to back port there when possible.

@benwtrent benwtrent added >test Issues or PRs that are addressing/adding tests backport pending :ml Machine learning v8.0.0 v7.2.0 v6.7.3 v7.0.2 v7.1.0 v6.8.0 labels May 8, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@benwtrent
Copy link
Member Author

run elasticsearch-ci/1

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

@benwtrent benwtrent merged commit 85226d6 into elastic:master May 8, 2019
@benwtrent benwtrent deleted the test/ml-fix-flaky-awaiting-upgrade-test branch May 8, 2019 21:18
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request May 8, 2019
…#41958)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request May 8, 2019
…#41958)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request May 8, 2019
…#41958)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request May 8, 2019
…#41958)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request May 8, 2019
…#41958)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request May 9, 2019
…rsing

* elastic/master:
  [ML] relax set upgrade mode test to match what is guaranteed (elastic#41958)
  Add note about ILM action ordering (elastic#41771)
  Remove Version 6 pre-release constants (elastic#41517)
  Mute illegal interval rollup tests
  Add static section whitelist info to api docs generation (elastic#41870)
  Cleanup RollupSearch exceptions, disallow partial results (elastic#41272)
benwtrent added a commit that referenced this pull request May 9, 2019
…#41978)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit that referenced this pull request May 9, 2019
…#41980)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit that referenced this pull request May 9, 2019
…#41981)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit that referenced this pull request May 9, 2019
…#41977)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
benwtrent added a commit that referenced this pull request May 9, 2019
…#41979)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
…#41958)

* [ML] relax set upgrade mode test to match what is guaranteed

* removing unused import
@jpountz
Copy link
Contributor

jpountz commented Jul 5, 2019

@benwtrent I'm assuming there is nothing left to backport and removed the "backport pending" label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning >test Issues or PRs that are addressing/adding tests v6.8.2 v7.3.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants