-
Notifications
You must be signed in to change notification settings - Fork 920
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] unit test schema_error.test.ts is skipped now #486
Comments
This was referenced Jun 16, 2021
ananzh
changed the title
[BUG] unit test schema_error.test.ts is skipped now
[Test] unit test schema_error.test.ts is skipped now
Jun 18, 2021
ananzh
added a commit
to ananzh/OpenSearch-Dashboards
that referenced
this issue
Jun 18, 2021
…ct#486) Schema_error.test.ts is skipped due to no decision around error handling and it fails depending on Node version in 2017. There are some possible reasons: 1) nodejs is bumps to 8 in 2018 which affected error handling 2) boom is used to handle http errors which is also dependent on nodejs version. Since we forked from v7.10.2 which has a stable nodejs v10.23.1, we will enable this unit test. Signed-off-by: Anan Zhuang <ananzh@amazon.com>
ananzh
added a commit
that referenced
this issue
Jun 22, 2021
Schema_error.test.ts is skipped due to no decision around error handling and it fails depending on Node version in 2017. There are some possible reasons: 1) nodejs is bumps to 8 in 2018 which affected error handling 2) boom is used to handle http errors which is also dependent on nodejs version. Since we forked from v7.10.2 which has a stable nodejs v10.23.1, we will enable this unit test. Signed-off-by: Anan Zhuang <ananzh@amazon.com>
kavilla
pushed a commit
that referenced
this issue
Jun 22, 2021
Schema_error.test.ts is skipped due to no decision around error handling and it fails depending on Node version in 2017. There are some possible reasons: 1) nodejs is bumps to 8 in 2018 which affected error handling 2) boom is used to handle http errors which is also dependent on nodejs version. Since we forked from v7.10.2 which has a stable nodejs v10.23.1, we will enable this unit test. Signed-off-by: Anan Zhuang <ananzh@amazon.com>
kavilla
pushed a commit
that referenced
this issue
Jun 22, 2021
Schema_error.test.ts is skipped due to no decision around error handling and it fails depending on Node version in 2017. There are some possible reasons: 1) nodejs is bumps to 8 in 2018 which affected error handling 2) boom is used to handle http errors which is also dependent on nodejs version. Since we forked from v7.10.2 which has a stable nodejs v10.23.1, we will enable this unit test. Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Currently,
schema_error.test.ts
test suite is skipped. To make a clean unit test, we want to explore and decide whether we still need to keep it as skipped.To Reproduce
Run:
yarn test:jest {path to schema_error.test.ts}
Expected behavior
explore the skipped unit tests, check:
can we enable all? if yes, create a PR and close the issue
can we remove all? if yes, create a PR and close the issue
should we keep all? if yes, describe the reasons in the issue.
The final output is expected to be a cleaned unit test with all the skipped ones being checked.
OpenSearch Version
OpenSearch 1.0.0
Dashboards Version
Dashboards 1.0.0
The text was updated successfully, but these errors were encountered: