Skip to content

[Tests] Make testEngineGCDeletesSetting deterministic (#38942) #39232

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 1 commit into from
Feb 21, 2019

Conversation

matriv
Copy link
Contributor

@matriv matriv commented Feb 21, 2019

InternalEngine.resolveDocVersion() uses relativeTimeInMillis() from
ThreadPool so it needs, the cached time to be advanced. Add a check
to ensure that and decrease the thread_pool.estimated_time_interval
to 1msec to prevent long running times for the test.

Fixes: #38874

`InternalEngine.resolveDocVersion()` uses `relativeTimeInMillis()` from
`ThreadPool` so it needs, the cached time to be advanced. Add a check
to ensure that and decrease the `thread_pool.estimated_time_interval`
to 1msec to prevent long running times for the test.

Fixes: elastic#38874

Co-authored-by: Boaz Leskes <[email protected]>
@matriv matriv added :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >test-failure Triaged test failures from CI v7.0.0 backport labels Feb 21, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@matriv matriv merged commit 941ed0d into elastic:7.0 Feb 21, 2019
@matriv matriv deleted the mt/backport-38942-7.0 branch February 21, 2019 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >test-failure Triaged test failures from CI v7.0.0-rc1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants