ML2 plugin needs additional unit tests

Bug #1236127 reported by Robert Kukura on 2013-10-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Medium
Chuck Carlino

Bug Description

The ML2 plugin needs unit tests that verify that the proper MechanismDriver calls are made for each API operation, including those involving auto-deleted resources.

Changed in neutron:
status: New → Triaged
importance: Undecided → Medium
Amir Sadoughi (amir-sadoughi) wrote :

From tox -e cover neutron.tests.unit.ml2; coverage report -m

neutron/plugins/ml2/plugin 411 45 85 12 89% 143-144, 182-185, 322-326, 430-435, 440-443, 448-451, 455-459, 471-475, 539-542, 546-550, 577-581, 599-603, 663-667, 676-678, 697-698

tags: added: ml2-unit-test-coverage
Kyle Mestery (mestery) on 2014-01-28
Changed in neutron:
assignee: nobody → Kyle Mestery (mestery)
Kyle Mestery (mestery) on 2014-01-29
Changed in neutron:
status: Triaged → In Progress
tags: added: ml2

Reviewed: https://review.openstack.org/74079
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5fb347ca6fd70750861cf1a49808f68125288f38
Submitter: Jenkins
Branch: master

commit 5fb347ca6fd70750861cf1a49808f68125288f38
Author: Kyle Mestery <email address hidden>
Date: Tue Jan 28 20:22:29 2014 +0000

    Add additional unit tests for the ML2 plugin

    This commit adds extended unit test coverage for the ML2 plugin.py file.

    Partial-Bug: 1236127

    Change-Id: I2f4465c84810965679a585007cd9005ba8a7da71

Kyle Mestery (mestery) on 2014-06-04
Changed in neutron:
assignee: Kyle Mestery (mestery) → nobody
Chuck Carlino (ccarlino) on 2014-06-04
Changed in neutron:
assignee: nobody → Chuck Carlino (ccarlino)

Reviewed: https://review.openstack.org/99129
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4cd29b7a9ebadd0eecf60aa10251ed4d8e51d4cc
Submitter: Jenkins
Branch: master

commit 4cd29b7a9ebadd0eecf60aa10251ed4d8e51d4cc
Author: Chuck Carlino <email address hidden>
Date: Mon Jun 9 23:18:11 2014 -0700

    Add test cases for plugins/ml2/plugin.py

    Test cases which generate MechanismDriverError failures and
    validate correct behavior.

    Partial-Bug: 1236127
    Change-Id: I922e842b54add786723ecb7763d6b4f330794794

Shiv Haris (shh) wrote :

chuckc: Can this bug be closed?

tags: added: unittest
removed: ml2-unit-test-coverage
Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2014-12-18
Changed in neutron:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2015-04-30
Changed in neutron:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers