summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarc MarĂ­ <marc.mari.barcelo@gmail.com>2014-09-11 11:40:16 +0200
committerPeter Maydell <peter.maydell@linaro.org>2014-09-12 13:58:07 +0100
commit6cd14054b67774cc58a51fca6660cfa1d3c08059 (patch)
tree3a4702ab9c0bb0540f651289d135b5d41888eb15 /tests
parent0dfa7e30126364c434a48cb37a1a41119e536c2a (diff)
downloadqemu-6cd14054b67774cc58a51fca6660cfa1d3c08059.tar.gz
qemu-6cd14054b67774cc58a51fca6660cfa1d3c08059.tar.bz2
qemu-6cd14054b67774cc58a51fca6660cfa1d3c08059.zip
libqos virtio: Increase ISR timeout
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout. Signed-off-by: Marc MarĂ­ <marc.mari.barcelo@gmail.com> Message-id: 1410428416-5046-1-git-send-email-marc.mari.barcelo@gmail.com Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/libqos/virtio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libqos/virtio.c b/tests/libqos/virtio.c
index 128dbd0e9a..9b6de2c0a7 100644
--- a/tests/libqos/virtio.c
+++ b/tests/libqos/virtio.c
@@ -82,7 +82,7 @@ bool qvirtio_wait_queue_isr(const QVirtioBus *bus, QVirtioDevice *d,
QVirtQueue *vq, uint64_t timeout)
{
do {
- clock_step(10);
+ clock_step(100);
if (bus->get_queue_isr_status(d, vq)) {
break; /* It has ended */
}
@@ -95,7 +95,7 @@ bool qvirtio_wait_config_isr(const QVirtioBus *bus, QVirtioDevice *d,
uint64_t timeout)
{
do {
- clock_step(10);
+ clock_step(100);
if (bus->get_config_isr_status(d)) {
break; /* It has ended */
}