test_delete_configuration_parameter_with_mgmt_api integration test is not idempotent

Bug #1379083 reported by Edmond Kotowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Craig Vyvial

Bug Description

When running ./redstack int-tests --group="dbaas.api.configurations" the test "test_delete_configuration_parameter_with_mgmt_api" deletes the parameter "connect_timeout" out of the mysql table datastore_configuration_paramters. If you run the test again it will error out because the configuration parameter no longer exists. The test should first create a new configuration parameter then delete it to keep the integration tests idempotent.

Tags: int-tests
Revision history for this message
Edmond Kotowski (ekotowski) wrote :
Changed in trove:
status: New → Confirmed
importance: Undecided → High
milestone: none → kilo-1
Changed in trove:
assignee: nobody → Edmond Kotowski (ekotowski)
Changed in trove:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
assignee: Edmond Kotowski (ekotowski) → Craig Vyvial (cp16net)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by Edmond Kotowski (<email address hidden>) on branch: master
Review: https://review.openstack.org/128145
Reason: Aggregated with patch https://review.openstack.org/#/c/128382/.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/128382
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=5f082ca56f23124d1c8f76fec3f5ea624c5feb7e
Submitter: Jenkins
Branch: master

commit 5f082ca56f23124d1c8f76fec3f5ea624c5feb7e
Author: Craig Vyvial <email address hidden>
Date: Fri Oct 10 14:23:03 2014 -0500

    add back the deleted parameter in the configuration group tests

    with the parameter deleted we can not rerun the tests on the same
    instance without clearing the datstore_configuration_paramters
    table and reloading the params. This will readd the parameter
    that is deleted.

    Change-Id: Ic1cdfa416a14c42b6c4323612ec609915224b6ee
    Closes-Bug: #1379083

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
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.