Skip to content

Unable to run subset of bwc yaml tests #52383

@benwtrent

Description

@benwtrent

For a while the way to run multiple the full BWC suite against a subsection of the yaml tests was to use a command like the following:

./gradlew :x-pack:qa:rolling-upgrade:v7.7.0#bwcTest -Dtests.class=org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT -Dtests.method="test {p0=*/40_ml_datafeed_crud/*}"

This no longer works.

The tests fail in the initial oldCluster runner with

org.elasticsearch.upgrades.TransformSurvivesUpgradeIT.initializationError
...
org.elasticsearch.upgrades.WatcherRestartIT.initializationError

Each failing with

org.junit.runner.manipulation.NoTestsRemainException

The typical new way of running tests with --tests "org.elasticsearch.upgrades.UpgradeClusterClientYamlTestSuiteIT" only works with a specific runner selected.

This is not an option with BWC tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/BuildBuild or test infrastructure>testIssues or PRs that are addressing/adding testsTeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions