throttle: Check that burst_level leaks correctly
commiteb8a1a1cbda15d776d6d505f14f61c7852f6a51a
authorAlberto Garcia <berto@igalia.com>
Thu, 18 Feb 2016 10:27:05 +0000 (18 12:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2016 13:08:06 +0000 (22 14:08 +0100)
tree6f389e62399796d8e327d9db4dbafd5c7e844254
parent398befdf50b71176ade6f9c07075a2f41bd6dd32
throttle: Check that burst_level leaks correctly

This patch expands test_leak_bucket() to check that burst_level leaks
correctly.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/test-throttle.c