public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES v3] migration tests
@ 2020-12-01 12:06 Fabian Ebner
  2020-12-01 12:06 ` [pve-devel] [PATCH v3 container 1/5] use new move_config_to_node method Fabian Ebner
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Fabian Ebner @ 2020-12-01 12:06 UTC (permalink / raw)
  To: pve-devel

Refactor some code and create a test enviroment for migration. See the last
patch for a description of the latter.

The first two patches depend on libpve-guest-common-perl >=3.1-3

Changes from v2:
    * drop already applied patch introducing move_config_to_node helper
    * rebase on current master and verify tests still behave the same
      way (they did, but it's not surprising as QemuMigrate.pm didn't
      change much since v2 was sent).
    * add a patch to sort volumes migrated with storage_migrate and adapt
      affected test


container:

Fabian Ebner (1):
  use new move_config_to_node method

 src/PVE/LXC/Migrate.pm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)


qemu-server:

Fabian Ebner (4):
  use new move_config_to_node method
  migration: factor out starting remote tunnel
  migration: sort volumes migrated with storage_migrate
  create test environment for migration

 PVE/QemuMigrate.pm                    |  130 +-
 test/Makefile                         |    5 +-
 test/MigrationTest/QemuMigrateMock.pm |  319 +++++
 test/MigrationTest/QmMock.pm          |  142 +++
 test/MigrationTest/Shared.pm          |  170 +++
 test/run_qemu_migrate_tests.pl        | 1594 +++++++++++++++++++++++++
 6 files changed, 2295 insertions(+), 65 deletions(-)
 create mode 100644 test/MigrationTest/QemuMigrateMock.pm
 create mode 100644 test/MigrationTest/QmMock.pm
 create mode 100644 test/MigrationTest/Shared.pm
 create mode 100755 test/run_qemu_migrate_tests.pl

-- 
2.20.1





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-12-15 15:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 12:06 [pve-devel] [PATCH-SERIES v3] migration tests Fabian Ebner
2020-12-01 12:06 ` [pve-devel] [PATCH v3 container 1/5] use new move_config_to_node method Fabian Ebner
2020-12-01 12:06 ` [pve-devel] [PATCH v3 qemu-server 2/5] " Fabian Ebner
2020-12-01 12:07 ` [pve-devel] [PATCH v3 qemu-server 3/5] migration: factor out starting remote tunnel Fabian Ebner
2020-12-01 12:07 ` [pve-devel] [PATCH v3 qemu-server 4/5] migration: sort volumes migrated with storage_migrate Fabian Ebner
2020-12-01 12:07 ` [pve-devel] [PATCH v3 qemu-server 5/5] create test environment for migration Fabian Ebner
2020-12-15 15:20 ` [pve-devel] applied-series: [PATCH-SERIES v3] migration tests Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal