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

Fix flaky migration test #23391

Conversation

chrisdavies
Copy link
Contributor

@chrisdavies chrisdavies commented Sep 21, 2018

This PR fixes this flaky test:

fail: "apis saved_objects Kibana index migration Coordinates migrations across the Kibana cluster"
19:28:52              │ 
19:28:52              │       AssertionError: expected [ Array(2) ] to deeply equal [ Array(2) ]
19:28:52              │       + expected - actual
19:28:52              │ 
19:28:52              │        [
19:28:52              │          {
19:28:52              │       +    "destIndex": ".migration-c_2"
19:28:52              │       +    "status": "migrated"
19:28:52              │       +  }
19:28:52              │       +  {
19:28:52              │            "destIndex": [undefined]
19:28:52              │            "status": "skipped"
19:28:52              │          }
19:28:52              │       -  {
19:28:52              │       -    "destIndex": ".migration-c_2"
19:28:52              │       -    "status": "migrated"
19:28:52              │       -  }
19:28:52              │        ]
19:28:52              │       
19:28:52              │       at Function.assert.deepEqual (node_modules/chai/lib/chai/interface/assert.js:216:32)
19:28:52              │       at Context.it (test/api_integration/apis/saved_objects/migrations.js:183:14)
19:28:52              │       at <anonymous>
19:28:52              │       at process._tickCallback (internal/process/next_tick.js:188:7)
19:28:52              │ 

@chrisdavies chrisdavies added Team:Operations Team label for Operations Team v6.5.0 labels Sep 21, 2018
@chrisdavies
Copy link
Contributor Author

retest

@chrisdavies
Copy link
Contributor Author

Er. Looks like this was fixed by Spencer: #23347

@chrisdavies chrisdavies deleted the migrations/flaky-integration-test branch September 21, 2018 18:42
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Operations Team label for Operations Team v6.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants