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

Failing tests #4715

Closed
solth opened this issue Oct 1, 2021 · 1 comment · Fixed by #4721
Closed

Failing tests #4715

solth opened this issue Oct 1, 2021 · 1 comment · Fixed by #4721
Labels

Comments

@solth
Copy link
Member

solth commented Oct 1, 2021

Since ElasticSearch was updated to version 7.10 in #4581 some tests are often failing, but sometimes succeed. I haven't been able to determine a pattern as to when the tests fail.

The tests in question are:

FilterServiceIT.shouldBuildQueryAndFindByProcessServiceByTaskTitle:174 Incorrect amount of processes for title containing 'Open'! expected:<1> but was:<0>

and

SearchResultFormIT.testFilterByTaskAndStatus:152 expected:<1> but was:<0>
@matthias-ronge
Copy link
Collaborator

That seems to be a timing problem. So, from the fact that the index command has returned, it cannot yet be concluded that indexing has been completed. For a large number of search engine applications it is okay to work according to the fire-and-forget principle, but we need it differently for the tests. Perhaps there is a parameter for this that you can request that the request remain open until the indexing has been completed. Or we have to incorporate a general delay after indexing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants