diff options
author | Dr. David Alan Gilbert | 2020-02-10 20:57:31 +0100 |
---|---|---|
committer | Juan Quintela | 2020-02-13 10:57:35 +0100 |
commit | 6e1f837a142731e0a271aae2eb83c17ca32f4db3 (patch) | |
tree | 1ec5155f782b7dd88db3bf9e1ef6c2a5f400557c /include/scsi | |
parent | migration/rdma: rdma_accept_incoming_migration fix error handling (diff) | |
download | qemu-6e1f837a142731e0a271aae2eb83c17ca32f4db3.tar.gz qemu-6e1f837a142731e0a271aae2eb83c17ca32f4db3.tar.xz qemu-6e1f837a142731e0a271aae2eb83c17ca32f4db3.zip |
tests/migration: Add some slack to auto converge
There's an assert in autoconverge that checks that we quit the
iteration when we go below the expected threshold. Philippe
saw a case where this assert fired with the measured value
slightly over the threshold. (about 3k out of a few million).
I can think of two reasons:
a) Rounding errors
b) That after we make the decision to quit iteration we do one
more sync and that sees a few more dirty pages.
So add 1% slack to the assertion, that should cover a and
most cases of b, probably all we'll see for the test.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions