Skip to content

Commit

Permalink
tests: Drop BDS from test-throttle.c
Browse files Browse the repository at this point in the history
Now that throttling has been moved to the BlockBackend level, we do not
need to create a BDS along with the BB in the I/O throttling test.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
XanClic authored and kevmw committed May 25, 2016
1 parent 6683618 commit 21a699a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-throttle.c
Expand Up @@ -578,9 +578,9 @@ static void test_groups(void)
BlockBackend *blk1, *blk2, *blk3;
BlockBackendPublic *blkp1, *blkp2, *blkp3;

blk1 = blk_new_with_bs(&error_abort);
blk2 = blk_new_with_bs(&error_abort);
blk3 = blk_new_with_bs(&error_abort);
blk1 = blk_new(&error_abort);
blk2 = blk_new(&error_abort);
blk3 = blk_new(&error_abort);

blkp1 = blk_get_public(blk1);
blkp2 = blk_get_public(blk2);
Expand Down

0 comments on commit 21a699a

Please sign in to comment.