1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

tests: storagepoolxml2xmltest: Fix pool-rbd test

This test failed for two reasons:
* The uuid was missing from the input file
* The output file had the <name> in a different place from the actual output
This commit is contained in:
Anatole Denis 2016-03-11 17:50:53 +01:00 committed by John Ferlan
parent b77cec09db
commit 478474515d
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<pool type='rbd'>
<name>ceph</name>
<uuid>47c1faee-0207-e741-f5ae-d9b019b98fe2</uuid>
<source>
<name>rbd</name>
<host name='localhost' port='6789'/>

View File

@ -5,9 +5,9 @@
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>0</available>
<source>
<name>rbd</name>
<host name='localhost' port='6789'/>
<host name='localhost' port='6790'/>
<name>rbd</name>
<auth type='ceph' username='admin'>
<secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
</auth>