You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of our rest tests make direct calls to the MODEL_SYSTEM_INDEX to initialize/check the state for a given test. However, the system index should not be directly accessed by the user for any reason. So, it does not make sense to access it for rest test cases. This can lead to flaky test behavior.
I did a quick scan of the tests that access the system index:
KNNRestTestCase.createModelSystemIndex:
For the given tests above, refactor to not directly access the system index. If it does not make sense to refactor, remove test and test functionality through unit tests
The text was updated successfully, but these errors were encountered:
Description
Some of our rest tests make direct calls to the MODEL_SYSTEM_INDEX to initialize/check the state for a given test. However, the system index should not be directly accessed by the user for any reason. So, it does not make sense to access it for rest test cases. This can lead to flaky test behavior.
I did a quick scan of the tests that access the system index:
KNNRestTestCase.createModelSystemIndex:
KNNRestTestCase.systemIndexExists
MODEL_INDEX_NAME
Solution
For the given tests above, refactor to not directly access the system index. If it does not make sense to refactor, remove test and test functionality through unit tests
The text was updated successfully, but these errors were encountered: