cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Pouget-Abadie (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-14810) Upgrade dtests to pytest-3.8
Date Sat, 13 Oct 2018 12:23:00 GMT


Thomas Pouget-Abadie updated CASSANDRA-14810:
    Attachment:     (was: 14810-master.txt)

> Upgrade dtests to pytest-3.8
> ----------------------------
>                 Key: CASSANDRA-14810
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Stefan Podkowinski
>            Assignee: Thomas Pouget-Abadie
>            Priority: Minor
>              Labels: lhf
> The [dtest project|] uses pytest as test runner
of choice for executing tests on or CircleCI. The pytest dependency has
recently been upgrade to 3.6, but couldn't be upgrade to the most recent 3.8 version, due
to issues described below.
> Before test execution, the {{}} script will gather a list of all tests:
>  {{./ --dtest-print-tests-only}}
> Afterwards pytest can be started with any of the output lines as argument. With pytest-3.8
however, the output format changed and preventing pytest to find the test:
>  {{pytest upgrade_tests/}}
>  vs
>  {{pytest}}
> The underlying issue appears to be the changes in the {{pytest --collect-only}} output,
consumed in {{}}, which now includes a <Package> element that needs to
be parsed as well to derive at the path as we did before. We'd have to parse the new output
and assemble the correct paths again, so we can use as we did before with pytest

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message