Project

General

Profile

Feature #10974

Feature #10237: Refactor and clean up the automated test suite

Always use internal snapshots

Added by anonym over 3 years ago. Updated about 3 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
-
Start date:
01/18/2016
Due date:
% Done:

20%

Feature Branch:
test/10974-use-only-internal-snapshots
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

Currently the code is pretty complex since we deal with both "memory-only" snapshots and internal snapshots. The only reason we use the former is that no qcow2 disk is present in some tests, and internal snapshots require that. However, we can use internal snapshots all the time if we just add a "dummy" qcow2 disk that is never used for anything except storing the snapshots.

Associated revisions

Revision 4a77609b (diff)
Added by anonym over 3 years ago

Use internal snapshots instead of ram-only snapshots.

... by adding a dummy qcow2 disk that will only be used for this
purpose.

Refs: #10974

History

#1 Updated by anonym over 3 years ago

  • % Done changed from 0 to 20
  • Feature Branch set to test/10974-use-only-internal-snapshots

WIP pushed. The last commit is problematic, but we need to do something like it. It makes us fail with:

Call to virDomainUpdateDeviceFlags failed: invalid argument: this disk doesn't support update (Libvirt::Error)                                            

when trying to start a domain after it has been shut down.

#2 Updated by anonym over 3 years ago

  • Parent task set to #10237

#3 Updated by BitingBird about 3 years ago

  • Status changed from Confirmed to In Progress

Also available in: Atom PDF