Skip to content

Make testDatafeedTimingStats_DatafeedJobIdUpdated test easier to debug #44206

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
merged 2 commits into from
Jul 12, 2019

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Jul 11, 2019

  • Change test jobs/datafeeds names used by DatafeedTimingStats-related tests so that they do not clash with names from other tests
  • Unroll the loops so that it is easier to track down which iteration failed should the exception occur

Related to: #44196

@przemekwitek przemekwitek added >test-failure Triaged test failures from CI :ml Machine learning v8.0.0 v7.4.0 labels Jul 11, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/packaging-sample

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/bwc

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

"Closes #44196" is an optimistic statement, I'm not sure what the root cause it but the loop unrolling and unique names will help debugging and finding the failure in the log file. State is cleared between tests and jobs deleted so name clashes won't be problem (it is an error to create a job with the same name anyway).

Copy link
Contributor Author

@przemekwitek przemekwitek left a comment

Choose a reason for hiding this comment

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

I've removed the "Closes #issue" form the description.

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/bwc
run elasticsearch-ci/default-distro

…d tests so that they do not clash with names from other tests

* Unroll the loops so that it is easier to track down which iteration failed should the exception occur
@przemekwitek przemekwitek force-pushed the fix-timing-stats-java-test branch from 8a9e4a9 to d59543c Compare July 12, 2019 07:49
@przemekwitek przemekwitek changed the title Fix failing testDatafeedTimingStats_DatafeedJobIdUpdated test Make testDatafeedTimingStats_DatafeedJobIdUpdated test easier to debug Jul 12, 2019
@przemekwitek przemekwitek merged commit d4046d5 into elastic:master Jul 12, 2019
@przemekwitek przemekwitek deleted the fix-timing-stats-java-test branch July 12, 2019 09:47
przemekwitek added a commit to przemekwitek/elasticsearch that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml Machine learning >test-failure Triaged test failures from CI v7.4.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants