-
Notifications
You must be signed in to change notification settings - Fork 917
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
[Test] Enable unit test suite: get_local_stats.test.ts #528
Conversation
…oject#512) All the unit tests related to unused telemetry are temporarily skipped after the fork. Unit tests of the disabled telemetry functions should also be modified correspondingly. To build a clean unit test, we decide to modify and enable all the working unit tests. This PR checks and enables get_local_stats.test.ts. Signed-off-by: Anan Zhuang <[email protected]>
✅ DCO Check Passed 5a9b507 |
We can probably delete this test. Also I see the warning:
Local to me implies no external dependencies. Should this logging this warning message? Not so much related to this PR but we might have broken basic (free) telemetry that is stored in the engine. If it was still suppose to depend on a third party then should we update the test to expect a warning for now that way we know we correctly implemented as expected in the current code base when the warning is no longer being thrown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good. Just a few comments.
Remove test case: returns expected object with xpack This is a unit test case related to xpack which does not exist in dashboards code. Signed-off-by: Anan Zhuang <[email protected]>
✅ DCO Check Passed c16db36 |
I removed the xpack test. Thanks for pointing it out. For the warning message, I will open an issue later and will do more investigation. |
Follow up issue: #556 |
* [Test] Enable unit test suite: get_local_stats.test.ts (#512) All the unit tests related to unused telemetry are temporarily skipped after the fork. Unit tests of the disabled telemetry functions should also be modified correspondingly. To build a clean unit test, we decide to modify and enable all the working unit tests. This PR checks and enables get_local_stats.test.ts. Signed-off-by: Anan Zhuang <[email protected]> * [Test] Remove unit test case related to xpack (#512) Remove test case: returns expected object with xpack This is a unit test case related to xpack which does not exist in dashboards code. Signed-off-by: Anan Zhuang <[email protected]>
* [Test] Enable unit test suite: get_local_stats.test.ts (#512) All the unit tests related to unused telemetry are temporarily skipped after the fork. Unit tests of the disabled telemetry functions should also be modified correspondingly. To build a clean unit test, we decide to modify and enable all the working unit tests. This PR checks and enables get_local_stats.test.ts. Signed-off-by: Anan Zhuang <[email protected]> * [Test] Remove unit test case related to xpack (#512) Remove test case: returns expected object with xpack This is a unit test case related to xpack which does not exist in dashboards code. Signed-off-by: Anan Zhuang <[email protected]>
Description
All the unit tests related to unused telemetry are temporarily
skipped after the fork. Unit tests of the disabled telemetry
functions should also be modified correspondingly. To build
a clean unit test, we decide to modify and enable all the
working unit tests. This PR checks and enables
get_local_stats.test.ts.
Signed-off-by: Anan Zhuang [email protected]
Issues Resolved
#512
Test results
unit test for get_local_stats.test.ts
Overall test result:
Check List