API tests create resources

Bug #1689415 reported by Ritesh Anand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Undecided
Ritesh Anand

Bug Description

During running Designate API tests I noticed that resources like networks are being created. This is unnecessary and may be slowing down the test runs.

This relates to designate-tempest-plugin.

Changed in designate:
status: New → In Progress
assignee: nobody → Ritesh Anand (ritesh-anand)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate-tempest-plugin (master)

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

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

Reviewed: https://review.openstack.org/464087
Committed: https://git.openstack.org/cgit/openstack/designate-tempest-plugin/commit/?id=6e03c58b7f4525b70fc447c2286e5b34bde624b0
Submitter: Zuul
Branch: master

commit 6e03c58b7f4525b70fc447c2286e5b34bde624b0
Author: Ritesh Anand <email address hidden>
Date: Thu May 11 14:34:56 2017 -0700

    Do not create networks for API tests

    We do not need network resources for these tests.

    Change-Id: I3e17a39d64835d49fcd882ec6b7b556b6acc4f17
    Closes-Bug: #1689415

Changed in designate:
status: In Progress → Fix Released
Revision history for this message
Ritesh Anand (ritesh-anand) wrote :

The released fix is not complete, as the derived classes also need to define the proposed classmethod to skip creating network resources.

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate-tempest-plugin 0.4.0

This issue was fixed in the openstack/designate-tempest-plugin 0.4.0 release.

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

Reviewed: https://review.openstack.org/533288
Committed: https://git.openstack.org/cgit/openstack/designate-tempest-plugin/commit/?id=f015ecb1de60562103557f1fc2c4be1b0456ef07
Submitter: Zuul
Branch: master

commit f015ecb1de60562103557f1fc2c4be1b0456ef07
Author: Ritesh Anand <email address hidden>
Date: Fri Jan 12 18:41:21 2018 -0800

    Do not create network resources for API tests

    We need to call set_network_resources() from class with API tests, to
    avoid creating network resources. Which are not needed for API tests.

    Change-Id: Ia93303390d9887722fa2cfde7757e5e9103ae585
    Closes-Bug: #1689415

Changed in designate:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate-tempest-plugin 0.5.0

This issue was fixed in the openstack/designate-tempest-plugin 0.5.0 release.

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.