In integration tests table-level deletion is used in an inefficient way

Bug #1585209 reported by Timur Sufiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Juan Pablo lopez Gutierrez

Bug Description

First, even when one entity is deleted from a table, first it is marked then 'Delete <entities>' table-level button is clicked, while row-level action could be used for that, omitting 'click checkbox' phase.

Second, when multiple entities are deleted, they are still deleted by one (using table-level delete), while it would be faster to first select all entities, then click 'Delete <entities>' one time and wait until each of them is deleted.

Timur Sufiev (tsufiev-x)
tags: added: integration-tests
Revision history for this message
Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez) wrote :

Do you have any example of this behavior?

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Revision history for this message
Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez) wrote :

You're completely right.

Changed in horizon:
status: New → Confirmed
Changed in horizon:
assignee: nobody → Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
assignee: Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez) → Timur Sufiev (tsufiev-x)
Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: Timur Sufiev (tsufiev-x) → Juan Pablo lopez Gutierrez (juan-pablo-lopez-gutierrez)
importance: Undecided → Medium
Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/322282
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=b450a03282665aa8da4190d47421aecbfc9afb59
Submitter: Jenkins
Branch: master

commit b450a03282665aa8da4190d47421aecbfc9afb59
Author: jlopezgu <email address hidden>
Date: Fri May 27 12:11:43 2016 -0500

    Improved table deletion efficiency

    Volumes and instances integration tests deleted and validated entities
    one row at a time, now they are able to delete and validate multiple
    rows at a time.

    Change-Id: I7f8fdc7e0ccefdd0f6d71f9f92c8a2aefeec8d54
    Closes-bug: #1585209

Changed in horizon:
status: Fix Committed → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 10.0.0.0b2

This issue was fixed in the openstack/horizon 10.0.0.0b2 development milestone.

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.