Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Flaky test cases caused by Counter Enum #124

Closed
jmazanec15 opened this issue May 22, 2020 · 0 comments
Closed

Flaky test cases caused by Counter Enum #124

jmazanec15 opened this issue May 22, 2020 · 0 comments

Comments

@jmazanec15
Copy link
Member

Currently, the plugin uses KNNCounter enum to keep track of different counts. For example, GRAPH_QUERY_REQUESTS keeps track of the number of queries made to graphs on a single node.

Because Unit tests run in the same JVM, this can lead to flaky failures, where the counter is incremented by some action in one test, and the value is checked in another test.

In order to fix this issue, these counters should be reset before running unit tests.

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

No branches or pull requests

1 participant