From nobody Tue Feb 10 23:01:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524249137451328.8870523877199; Fri, 20 Apr 2018 11:32:17 -0700 (PDT) Received: from localhost ([::1]:50364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9apU-0005uO-KN for importer@patchew.org; Fri, 20 Apr 2018 14:32:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9afi-00066z-Ii for qemu-devel@nongnu.org; Fri, 20 Apr 2018 14:22:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9afh-00025K-MW for qemu-devel@nongnu.org; Fri, 20 Apr 2018 14:22:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33690) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f9afh-00023v-GL for qemu-devel@nongnu.org; Fri, 20 Apr 2018 14:22:09 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C11B13182F59; Fri, 20 Apr 2018 18:22:08 +0000 (UTC) Received: from localhost (ovpn-116-52.gru2.redhat.com [10.97.116.52]) by smtp.corp.redhat.com (Postfix) with ESMTP id 35D2F5D6A8; Fri, 20 Apr 2018 18:22:05 +0000 (UTC) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Fri, 20 Apr 2018 15:19:38 -0300 Message-Id: <20180420181951.7252-12-ehabkost@redhat.com> In-Reply-To: <20180420181951.7252-1-ehabkost@redhat.com> References: <20180420181951.7252-1-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Fri, 20 Apr 2018 18:22:08 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [RFC 11/24] avocado_qemu: Fix exception name in caller X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= , Fam Zheng , Stefan Hajnoczi , Amador Pahim , Cleber Rosa , Alistair Francis Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Amador Pahim There's a exception name mismatch when callin `QEMUMigrationError`. Fixing. Signed-off-by: Amador Pahim Signed-off-by: Eduardo Habkost --- tests/avocado/avocado_qemu/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/avocado/avocado_qemu/test.py b/tests/avocado/avocado_qem= u/test.py index 57c63b2853..f3c7091343 100644 --- a/tests/avocado/avocado_qemu/test.py +++ b/tests/avocado/avocado_qemu/test.py @@ -328,7 +328,7 @@ class _VM(qemu.QEMUMachine): logging.info("Migration successful") return True elif 'failed' in res['return']: - raise QEMUMigrateError("Migration of %s failed" % self) + raise QEMUMigrationError("Migration of %s failed" % self) return False =20 port =3D self.ports.find_free_port() @@ -343,8 +343,8 @@ class _VM(qemu.QEMUMachine): text=3D'Waiting for migration to comple= te') =20 if mig_result is None: - raise QEMUMigrateError("Migration of %s did not complete after= " - "%s s" % (self.name, timeout)) + raise QEMUMigrationError("Migration of %s did not complete aft= er " + "%s s" % (self.name, timeout)) =20 return newvm =20 --=20 2.14.3