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
Eric Harney
7 years ago
| 45 | 45 | # Create volume |
| 46 | 46 | self.volume = self.create_volume() |
| 47 | 47 | # Create snapshot |
| 48 | self.snapshot = self.create_snapshot(self.volume['id']) | |
| 48 | self.snapshot = self.create_snapshot(self.volume['id'], | |
| 49 | metadata={'mykey1': 'value1'}) | |
| 49 | 50 | |
| 50 | 51 | @decorators.idempotent_id('87b7dcb7-4950-4a3a-802c-ece55491846d') |
| 51 | 52 | def test_volume_revert_to_snapshot(self): |