Discussion:
Change in vdsm[master]: net tests: Run functional tests using pytest
Code Review
2017-08-15 06:24:20 UTC
Permalink
From Dan Kenigsberg <***@redhat.com>:

Dan Kenigsberg has posted comments on this change.

Change subject: net tests: Run functional tests using pytest
......................................................................


Patch Set 12: Code-Review+2

raising

--
To view, visit https://gerrit.ovirt.org/79727
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I1de97fc245bd11402f52f5cc2e981314e2050b53
Gerrit-PatchSet: 12
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <***@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <***@redhat.com>
Gerrit-Reviewer: Edward Haas <***@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Leon Goldberg <***@redhat.com>
Gerrit-Reviewer: Nir Soffer <***@redhat.com>
Gerrit-Reviewer: Petr Horáček <***@redhat.com>
Gerrit-Reviewer: gerrit-hooks <***@ovirt.org>
Gerrit-HasComments: No
_______________________________________________
vdsm-patches mailing list -- vdsm-***@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-***@lists.fedoraho
Code Review
2017-08-15 06:25:28 UTC
Permalink
From Dan Kenigsberg <***@redhat.com>:

Dan Kenigsberg has submitted this change and it was merged. ( https://gerrit.ovirt.org/79727 )

Change subject: net tests: Run functional tests using pytest
......................................................................


net tests: Run functional tests using pytest

Enable the network functional tests to be run using pytest.

The existing marking and assertion of the tests have been
converted from nose to pytest.

There is no change in the unit and integration test run.

In order to run the network functional tests:
pytest -m legacy_switch network/functional
pytest -m ovs_switch network/functional

To run all functional tests except the ovsdpdk ones:
pytest -m "not ovsdpdk_switch" network/functional

Note: pytest needs to be installed on the system (pip install pytest).

Change-Id: I1de97fc245bd11402f52f5cc2e981314e2050b53
Signed-off-by: Edward Haas <***@redhat.com>
---
M automation/check-merged.sh
M tests/network/functional/bond_basic_test.py
M tests/network/functional/dhclient_test.py
M tests/network/functional/dns_test.py
M tests/network/functional/dpdk_test.py
M tests/network/functional/net_basic_test.py
M tests/network/functional/net_qos_test.py
M tests/network/functional/net_with_bond_test.py
M tests/network/functional/netfunctestlib.py
M tests/network/functional/netrestore_test.py
M tests/network/functional/rollback_test.py
M tests/network/functional/static_ip_test.py
M tests/network/functional/switch_type_change_test.py
13 files changed, 474 insertions(+), 647 deletions(-)

Approvals:
Nir Soffer: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
Petr Horáček: Looks good to me, but someone else must approve
Dan Kenigsberg: Looks good to me, approved
Edward Haas: Verified



--
To view, visit https://gerrit.ovirt.org/79727
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1de97fc245bd11402f52f5cc2e981314e2050b53
Gerrit-PatchSet: 13
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Edward Haas <***@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <***@redhat.com>
Gerrit-Reviewer: Edward Haas <***@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Leon Goldberg <***@redhat.com>
Gerrit-Reviewer: Nir Soffer <***@redhat.com>
Gerrit-Reviewer: Petr Horáček <***@redhat.com>
Gerrit-Reviewer: gerrit-hooks <***@ovirt.org>
_______________________________________________
vdsm-patches mailing list -- vdsm-***@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-leave@

Loading...