1. 15 5月, 2013 1 次提交
  2. 08 5月, 2013 1 次提交
  3. 04 4月, 2013 1 次提交
    • L
      qemu.tests: Use params[] for required params · a9f0d2c5
      Lukáš Doktor 提交于
      This patch benefits from the better error message when key is missing
      in config params. Instead of custom handling of missing param it
      uses params[] directly.
      
      I modified those params, where I was 100% certain that they are
      required and doesn't have default value:
       * val = params.get(..) followed by if not val: raise...
       * int(params.get(...))
       * params.get(...).split()
       * commands which require string (eg. session.cmd(params.get(...)))
      
      I didn't test all the tests before and after in order to verify
      possible typos but I used pylint before and after, watching for
      new errors (code rate before and after).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      a9f0d2c5
  4. 02 2月, 2013 1 次提交
    • L
      multi_disk: Fix incorrect params · ba876db6
      Lukáš Doktor 提交于
      * max_disk must not have any usbs, otherwise there are not enough
        slots in PCI
      * default image_boot = yes which generates in multi_disk test
        multiple disks with index = 1 and test failure. By forcing default
        value stg_image_boot = 'no' we can keep the default value (and index
        of image1) and let the other disk to have their own indexes.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      ba876db6
  5. 25 12月, 2012 2 次提交
  6. 24 12月, 2012 2 次提交
  7. 27 11月, 2012 1 次提交
    • L
      kvm.multi_disk: Only preprocess required VM disks · 6272a312
      Lucas Meneghel Rodrigues 提交于
      This is a solution for issue #108, reported by Gerd.
      
      The test multi_disk was calling a full preprocess
      from the test scope, which is quite dangerous, as
      it messes with threads set by the virt tests infrastructure,
      making the test runner to hang.
      
      As the idea here is just to create the required disks
      before the vm starts, call preprocess_image for all
      the images in params.
      
      CC: Lukas Doktor <ldoktor@redhat.com>
      CC: Gerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      6272a312
  8. 07 9月, 2012 2 次提交