Skip to content
Snippets Groups Projects
Select Git revision
  • v1.1-rc0
  • master default
  • sp/trace-zero-ranges
  • stable-2.5
  • stable-2.4
  • stable-2.3
  • stable-2.2
  • stable-2.1
  • stable-2.0
  • stable-1.7
  • stable-1.6
  • stable-1.5
  • stable-1.4
  • stable-1.3
  • stable-1.2
  • stable-1.1
  • stable-1.0
  • stable-0.15
  • stable-0.14
  • stable-0.13
  • stable-0.12
  • v2.7.0-rc1
  • v2.7.0-rc0
  • v2.6.0
  • v2.5.1.1
  • v2.6.0-rc5
  • v2.6.0-rc4
  • v2.6.0-rc3
  • v2.6.0-rc2
  • v2.6.0-rc1
  • v2.6.0-rc0
  • v2.5.1
  • v2.5.0
  • v2.5.0-rc4
  • v2.5.0-rc3
  • v2.5.0-rc2
  • v2.5.0-rc1
  • v2.5.0-rc0
  • v2.4.1
  • v2.4.0.1
  • v2.3.1
41 results

tests

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Stefan Hajnoczi authored and Luiz Capitulino committed
    Add tests to exercise the InvalidParameter 'speed' error code path, as
    well as the regular success case for setting the speed.  The
    block-stream 'speed' parameter allows the speed limit of the job to be
    applied immediately when the job starts instead of issuing a separate
    block-job-set-speed command later.  If the parameter has an invalid
    value we expect to get an error and the job is not created.
    
    It turns out that cancelling a block job is a common operation in these
    test cases, let's extract a cancel_and_wait() function instead of
    duplicating the QMP commands.
    
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Acked-by: default avatarKevin Wolf <kwolf@redhat.com>
    Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
    e425306a
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..