Skip to content
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

[ML] Transform functional tests - bootstrap transform job for clone test #57992

Merged
merged 5 commits into from
Feb 20, 2020

Conversation

pheyos
Copy link
Member

@pheyos pheyos commented Feb 19, 2020

Summary

This PR adds transform bootstrapping to the functional test transform.api service and demonstrates the usage in a new cloning test file, which will be completed as part of the transform cloning PR.

Relates to #57837

@pheyos pheyos added :ml test_ui_functional v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Transforms ML transforms v7.7.0 labels Feb 19, 2020
@pheyos pheyos requested a review from walterra February 19, 2020 12:45
@pheyos pheyos requested a review from a team as a code owner February 19, 2020 12:45
@pheyos pheyos self-assigned this Feb 19, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@pheyos pheyos requested a review from darnautov February 19, 2020 12:49
Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just added a question about some after() code.

Comment on lines +49 to +51
after(async () => {
// await transform.api.deleteIndices(<CLONE_DEST_INDEX>);
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this here so we can follow up with some code here or can we delete it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a reminder to remove the clone destination index (which should be different from the original's destination index). We can as well remove it for now and re-add it when the test is actually implemented. Your call 😉

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me to keep as is!

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pheyos
Copy link
Member Author

pheyos commented Feb 20, 2020

@elasticmachine merge upstream

@pheyos
Copy link
Member Author

pheyos commented Feb 20, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pheyos pheyos merged commit 16eb816 into elastic:master Feb 20, 2020
@pheyos pheyos deleted the create_transforms branch February 20, 2020 12:31
pheyos added a commit to pheyos/kibana that referenced this pull request Feb 20, 2020
…est (elastic#57992)

This PR adds transform bootstrapping to the functional test transform.api service and demonstrates the usage in a new cloning test file, which will be completed as part of the transform cloning PR.
pheyos added a commit that referenced this pull request Feb 20, 2020
…est (#57992) (#58117)

This PR adds transform bootstrapping to the functional test transform.api service and demonstrates the usage in a new cloning test file, which will be completed as part of the transform cloning PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Transforms ML transforms :ml release_note:skip Skip the PR/issue when compiling release notes test_ui_functional v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants