« Previous | Next » 

Revision c6e8fb9c

IDc6e8fb9c3cb693151d10f550c5f3370e0de2a4c4
Parent 90669369
Child bebe7a73

Added by Iustin Pop over 11 years ago

Fix a few tests that hard-coded the number of nodes

Instead of randomly generating the number of required nodes or
hard-coding it, compute it from the disk template of the
instance. Otherwise tests will fail when the disk template is not
DRBD8 and we ask for allocation on 2 nodes.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences