From f75236bf423bc400bda8c4ad409c44b09bd080d4 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Fri, 4 Oct 2019 14:12:18 +0200 Subject: [PATCH] migrate.py: migrate count starts with 1 As this is not some index but a counter. The first print happens after first migration was done, meaning 1 instead of 0 Signed-off-by: Victor Toso Acked-by: Kevin Pouget --- tests/migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/migrate.py b/tests/migrate.py index a172c060..a1478ce9 100755 --- a/tests/migrate.py +++ b/tests/migrate.py @@ -241,8 +241,8 @@ class Migrator(object): qmp_filename=new_qmp_filename, with_agent=self.vdagent, incoming_port=self.migration_port) - print(self.migration_count) self.migration_count += 1 + print(self.migration_count) def main(): args = get_args()