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
Add debug code to flaky field_data test #15535
Conversation
The current CI failure seems to be something else... jenkins, test this |
@Bargs did you give up on this PR or you still looking for a review for it? |
💔 Build Failed |
@stacey-gammon I was waiting for review, then forgot about it :) I dunno if this test has continued to be flaky in the intervening time or not |
9743230
to
a9b6b51
Compare
Ping @stacey-gammon @weltenwort I've rebased this PR, please take a look if you get a chance. |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not reproduce the targeted failure locally, but this looks like it could give some insight.
Would be sweet if Kibana offered a hook for the tests to gather the request details. Alternatively, we could inject some JS via driver.executeScript
to hook into the xhr requests ourselves or communicate with the devtools to save the HAR. The former would be more compatible across browsers, I assume.
Anyway, that's for a different PR 😉
I did confirm it worked, but that was back in 2017 😆 I'll test it out and make sure. |
💔 Build Failed |
a9b6b51
to
1332fc5
Compare
@stacey-gammon so it looks like the UI changed since I first wrote this, I just had to update a helper to handle that change. You should be able to test the console output by simply changing the expected string now. |
💔 Build Failed |
Failing tests don't seem to be related to this change, retrying. Jenkins, test this |
💚 Build Succeeded |
Gathering more info for #13163
This PR re-enables a flaky test and adds some code to log additional debug info the next time it fails. As I mentioned in a comment in the linked issue, I suspect there's an actual bug in our response handling or _source formatting code. I dug through some of the code that I thought might be responsible but I didn't see any obvious issues. So before blindly searching any further I want to see the actual ES response for one of these failures and be 100% sure that the issue isn't with the data ES is sending back. If the ES data is fine I may need to figure out another way to zero in on the issue.