Skip to content

Commit

Permalink
Merge "Avoid using image with kernel in BDM large request func test"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Oct 14, 2019
2 parents 6b60cae + cacca20 commit d14ae3a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions nova/tests/functional/test_boot_from_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,12 @@ def test_boot_from_volume_10_servers_255_volumes_2_images(self):
# We only care about API performance in this test case so stub out
# conductor to not do anything.
self.useFixture(nova_fixtures.NoopConductorFixture())
images = self.api.get_images()
image1 = images[0]['id']
image2 = images[1]['id']
# NOTE(gibi): Do not use 'c905cedb-7281-47e4-8a62-f26bc5fc4c77' image
# as that is defined with a separate kernel image, leading to one extra
# call to nova.image.api.API.get from compute.api
# _handle_kernel_and_ramdisk()
image1 = 'a2459075-d96c-40d5-893e-577ff92e721c'
image2 = '76fa36fc-c930-4bf3-8c8a-ea2a2420deb6'
server = self._build_minimal_create_server_request(
self.api, 'test_boot_from_volume_10_servers_255_volumes_2_images')
server.pop('imageRef')
Expand Down

0 comments on commit d14ae3a

Please sign in to comment.