]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/group
iotests: Add test for QMP event rates
authorAlberto Garcia <berto@igalia.com>
Thu, 10 Mar 2016 11:55:27 +0000 (13:55 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 14 Mar 2016 16:35:06 +0000 (17:35 +0100)
commit7223c48cff7aec07517a30c2fbfadbb45de9eb14
treeb6db63b30a5367c45a5460ccce89b8ef80cde9ce
parentdc5999787181f6d090217f45570067e55333835b
iotests: Add test for QMP event rates

This test verifies that the rate-limited QMP events are emitted at a
maximum rate of 1 per second as defined in monitor_qapi_event_conf in
monitor.c

It also checks that QUORUM_REPORT_BAD events generated from different
nodes are kept in separate queues so they don't mask each other.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 0dbd3ee88a59a6363042ad81cfb345037bfbf612.1457610443.git.berto@igalia.com
[mreitz@redhat.com: Renamed test from 146 to 148]
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/148 [new file with mode: 0644]
tests/qemu-iotests/148.out [new file with mode: 0644]
tests/qemu-iotests/group