-
Notifications
You must be signed in to change notification settings - Fork 924
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 schema_error.test.ts #488
Conversation
✅ DCO Check Passed 44a11a6 |
From reading the comment it seems like related to unknown aspects about node versions and if the test fails on different node versions. Could I get some clarity on that? |
Could the commit description have some details about why we are able to re-enable it. |
Agreed, let's make sure we're adding helpful details to the commit messages. |
Yes. As mentioned in issue here, there is a discussion about error handling in 'new platform'. I am not sure the exact reason this test is skipped initially but I think two reasons are related: 1) I see there is a bump from nodejs6 to nodejs 8 in March,2018. As mentioned in this article here , there are changes in nodejs error handling. 2) Another error handling mentioned in the above issue is to use boom to handle HTTP errors. boom provides a set of error response object for returning HTTP errors. boom also depends on nodejs. |
349eadf
to
5cc37bd
Compare
❌ DCO Check Failed 349eadf |
will amend the commit msg for this PR. thanks for the comment |
✅ DCO Check Passed 5cc37bd |
Will amend the commit message. Thanks for the comment. |
✅ DCO Check Passed 3d65188 |
…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 <[email protected]>
✅ DCO Check Passed c503b6e |
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 <[email protected]>
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 <[email protected]>
Signed-off-by: Anan Zhuang [email protected]
Description
This is skipped because in 2017 there is no decision around error handling in the new platform. We can enable the unit test for error handling.
The error message is:
After clean and select, following message will be compare to snapshot
Issues Resolved
#486
Test results
unit test for schema_error.test.ts
overall unit test:
integration test:
functional test: see below image
Check List