test_attach_detach_volume failing because of unset variable

Bug #1214219 reported by Ryan Hsu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Ryan Hsu

Bug Description

The following tests are failing due to an unset attribute (self.server) by the utility method attachVolumeTestJSON._create_and_attach:

AttachVolumeTestJSON.test_attach_detach_volume
AttachVolumeTestXML.test_attach_detach_volume

The fix is to add in the missing assignment in the utility method.

Ryan Hsu (rhsu)
Changed in tempest:
assignee: nobody → Ryan Hsu (rhsu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/42800
Committed: http://github.com/openstack/tempest/commit/6a7a2d534a3a8e3cb426566cbbf50ceca7efeff0
Submitter: Jenkins
Branch: master

commit 6a7a2d534a3a8e3cb426566cbbf50ceca7efeff0
Author: Ryan Hsu <email address hidden>
Date: Mon Aug 19 20:00:36 2013 -0700

    Set missing attribute self.server in _create_and_attach utility

    Modifies _create_and_attach utility method so that it sets self.server
    attribute. The test, test_attach_detach_volume was failing because it
    expected the attribute to be set but it was not.

    Fixes: bug #1214219
    Change-Id: I88222cdf264e938f492058ab2d476406074aea40

Changed in tempest:
status: In Progress → Fix Committed
Sean Dague (sdague)
Changed in tempest:
status: Fix Committed → Fix Released
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.