-
Notifications
You must be signed in to change notification settings - Fork 916
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
[Tests] Fix integration test due to code change in osd-plugin-helper #318
Conversation
✅ DCO Check Passed b5c3474 |
@@ -94,8 +94,7 @@ it('builds a generated plugin into a viable archive', async () => { | |||
); | |||
|
|||
expect(buildProc.all).toMatchInlineSnapshot(` | |||
" warn These tools might work with 7.9 versions, but there are known workarounds required. See https://github.com/elastic/kibana/issues/82466 for more info |
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.
Are we sure that we want to remove this warning and link?
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.
In packages/osd-plugin-helpers/src/cli.ts we removed version check so there is no log warning 'These tools might work with 7.9 versions, but there are known workarounds required'. That is the reason this particular functional test failed. Thanks for checking.
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.
this should be auto updated with yarn run test:jest_integration -u
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.
Yes. yarn run test:jest_integration -u
will generate same result by deleting that warning sentence. Mine also changed version 7.9.0 to 1.0.0, since we will change the versions eventually.
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
✅ DCO Check Passed 7b23765 |
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.
Smoke test, unit test, integ test, and func test passing.
So is prior to this PR there was a failing integration test running yarn test:jest_integration
? Do we need plugins within plugins/
for the test to fail?
LGTM regardless.
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.
LGTM !! Thanks @ananzh for taking stab it.
…er (#318) Signed-off-by: Anan Zhuang <ananzh@amazon.com> Co-authored-by: Ubuntu <ubuntu@ip-172-31-24-239.us-west-2.compute.internal>
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Signed-off-by: Ubuntu ubuntu@ip-172-31-24-239.us-west-2.compute.internal
Description
Due to code change in #312 on packages/osd-plugin-helpers/src/cli.ts , packages/osd-plugin-helpers/src/integration_tests/build.test.ts does not work. This PR fixed this particular integration test.
Issues Resolved
na
Check List