Browse Source

Add metadata to snapshot for revert test

This may help test the problem exposed in bug
1805790, but it will only trigger it if the job
is running with notifications turned on.

Related-Bug: #1805790

Change-Id: Ie1778624f51cfc05c5d42174065a21a6ceaae138
tags/0.2.0^0
Eric Harney 1 year ago
parent
commit
3cd73f60d8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cinder_tempest_plugin/api/volume/test_volume_revert.py

+ 2
- 1
cinder_tempest_plugin/api/volume/test_volume_revert.py View File

@@ -46,7 +46,8 @@ class VolumeRevertTests(base.BaseVolumeTest):
# Create volume
self.volume = self.create_volume()
# Create snapshot
self.snapshot = self.create_snapshot(self.volume['id'])
self.snapshot = self.create_snapshot(self.volume['id'],
metadata={'mykey1': 'value1'})

@decorators.idempotent_id('87b7dcb7-4950-4a3a-802c-ece55491846d')
def test_volume_revert_to_snapshot(self):

Loading…
Cancel
Save