summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlberto Garcia2015-11-16 10:28:38 +0100
committerStefan Hajnoczi2015-11-17 11:35:57 +0100
commit40119effc5c36dbd0ca19ca85a5897d5b3d37d6d (patch)
tree17cd3978c03bb51e238a23689a87b75fd1bbc219 /tests
parentaio-epoll: Fix use-after-free of node (diff)
downloadqemu-40119effc5c36dbd0ca19ca85a5897d5b3d37d6d.tar.gz
qemu-40119effc5c36dbd0ca19ca85a5897d5b3d37d6d.tar.xz
qemu-40119effc5c36dbd0ca19ca85a5897d5b3d37d6d.zip
block: make 'stats-interval' an array of ints instead of a string
This is the natural JSON representation and prevents us from having to decode the list manually. Signed-off-by: Alberto Garcia <berto@igalia.com> Message-id: 0e3da8fa206f4ab534ae3ce6086e75fe84f1557e.1447665472.git.berto@igalia.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/1362
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/136 b/tests/qemu-iotests/136
index f574d83ff7..e8c6937fc9 100644
--- a/tests/qemu-iotests/136
+++ b/tests/qemu-iotests/136
@@ -69,7 +69,7 @@ sector = "%d"
def setUp(self):
drive_args = []
- drive_args.append("stats-intervals=%d" % interval_length)
+ drive_args.append("stats-intervals.0=%d" % interval_length)
drive_args.append("stats-account-invalid=%s" %
(self.account_invalid and "on" or "off"))
drive_args.append("stats-account-failed=%s" %