Skip to content

Flaky test case for testGraphQueryErrorsGetIncremented #43

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

Closed
jmazanec15 opened this issue Jun 14, 2021 · 0 comments
Closed

Flaky test case for testGraphQueryErrorsGetIncremented #43

jmazanec15 opened this issue Jun 14, 2021 · 0 comments

Comments

@jmazanec15
Copy link
Member

Response exception is not being thrown when it should - https://github.com/opensearch-project/k-NN/pull/34/checks?check_run_id=2822356887. Only happens occassionally.

 org.opensearch.knn.plugin.action.RestKNNStatsHandlerIT > testGraphQueryErrorsGetIncremented FAILED
    junit.framework.AssertionFailedError: Expected exception ResponseException but no exception was thrown
        at __randomizedtesting.SeedInfo.seed([4D0A87CF2F3FABDE:3B0431BAFE8AE542]:0)
        at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2744)
        at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2734)
        at org.opensearch.knn.plugin.action.RestKNNStatsHandlerIT.testGraphQueryErrorsGetIncremented(RestKNNStatsHandlerIT.java:192)

Related to this line. It expects CB to be tripped so that query will fail, but its not getting tripped.

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

No branches or pull requests

1 participant