dvr unit test requires sudo

Bug #1396276 reported by Russell Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Russell Bryant

Bug Description

When running the following unit test, I get prompted for my sudo password:

$ tox -e py27 neutron.tests.unit.openvswitch.test_ovs_neutron_agent.TestOvsNeutronAgent.test_get_dvr_mac_address_retried_max

I'm on master commit 575b3fe84ca1bb6ef87db379cae34040abfca89e.

Tags: dvr
Changed in neutron:
assignee: nobody → Russell Bryant (russellb)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/137161

Changed in neutron:
status: New → In Progress
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → kilo-1
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit c8298b6f98c19cfd24cbd4e95cc2f6c6e840d826
Author: Russell Bryant <email address hidden>
Date: Tue Nov 25 18:06:46 2014 +0000

    Drop sudo requirement from a unit test

    I noticed while working on some other stuff that a unit test was
    prompting me for my sudo password. I narrowed it down to the
    offending test case and fixed it by mocking out the execute util, as
    is done in several other places in these tests.

    Change-Id: I93c6cdb8a26d3be5df5386091dc70a240ab7c190
    Closes-bug: #1396276

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.