Skip to content

[DOCS] Re-enable code snippet testing for machine learning #33539

Closed
@lcawl

Description

@lcawl

Related to #30665, #31118, #33248, and #48663

The code snippets in the machine learning documentation was disabled because they ceased working after they were moved to the docs folder.

For example, the following error occurs:

1> [2018-09-07T20:27:20,562][INFO ][o.e.s.DocsClientYamlTestSuiteIT] [test]

Throwable #1: java.lang.RuntimeException: Failure at [reference/ml/apis/close-job:64]: rest api [xpack.ml.put_job] doesn't exist in the rest spec
at __randomizedtesting.SeedInfo.seed([D147CAFC346CBEEA:5913F5269A90D312]:0)

The following APIs still have testing disabled:

Ideally at the same time as we get them working, we can update the examples to use one of the Kibana sample data sets too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :mlMachine learning>docsGeneral docs changesTeam:DocsMeta label for docs team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions