Skip to content

[Kibana metricset] Conditionally skip integration tests #7732

@ycombinator

Description

@ycombinator

Implement this FIXME:

t.Skip("Skipping until we find a way to conditionally skip this for Kibana < 6.4.0") // FIXME
compose.EnsureUp(t, "kibana")
f := mbtest.NewReportingMetricSetV2(t, mtest.GetConfig("stats"))
// FIXME! See skip above
// version, err := kibana.GetVersion(f.http, "api/stats")
// if err != nil {
// t.Fatal("getting kibana version", err)
// }
// isStatsAPIAvailable, err := kibana.IsStatsAPIAvailable(version)
// if err != nil {
// t.Fatal("checking if kibana stats API is available", err)
// }
// t.Skip("Kibana stats API is not available until 6.4.0")

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions