« Previous | Next » 

Revision 52a988f2

Parent 3eaa6e1d
Child 6ee8fdd3

Added by Michele Tartara about 7 years ago

Fix testEncodeInstance test input

The input of the testEncodeInstance test was not adherent to the actual format
of the Ganeti configuration file: kvm has no HV_BLOCKDEV_PREFIX, and "hvparams"
inside an instance should only contain the values of the hypervisor parameters,
not the hypervisor name, which is already declared in the "hypervisor" field,
and which was not correctly aligned with the parameters in the "hvparams"

All these problems are now fixed, and the assertions are changed accordingly.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences