Project

Profile

Help

Task #6928

Investigate if it's possible to revert to some system state between tests

Added by Alexander Kaluzhny about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Timofey Turenko
Category:
mdbci_practice
Sprint/Milestone:
Start date:
03.04.2016
Due date:
% Done:

50%

Estimated time:
4:00 h
Target branch:
Test scenario:

With mdbci features generate and up some machine, then using documentation from here https://dev.osll.ru/projects/mdbci/wiki/Vagrant_snapshots try to create some snapshot. Then, for example, with mdbci connamd that installs new mariadb repo to node install new repo check and install new mariadb product. Check machine. Be sure that new mariadb instance was installed. Then try to reset machine to snapshot's state (using documentation mentioned above) check mariadb version.


Description

Investigate if there is system revert between tests. So we do not need to restart full system for each parametrized test.


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #6934: Kaluzny practice - parametrized testing automationClosed03.04.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Alexander Kaluzhny about 5 years ago

  • Related to Task #6934: Kaluzny practice - parametrized testing automation added

#2 Updated by Alexander Kaluzhny about 5 years ago

  • Subject changed from Investigate if there is system revert between tests to Investigate if it's possible to revert to some system state between tests

#3 Updated by Alexander Kaluzhny about 5 years ago

  • Estimated time set to 4:00 h

#4 Updated by Alexander Kaluzhny about 5 years ago

  • Status changed from New to Active / In progress

#5 Updated by Alexander Kaluzhny about 5 years ago

  • Status changed from Active / In progress to New

#6 Updated by Alexander Kaluzhny about 5 years ago

  • Status changed from New to Active / In progress

#7 Updated by Alexander Kaluzhny about 5 years ago

  • % Done changed from 0 to 50

Found plugin https://github.com/scalefactory/vagrant-multiprovider-snap that supports HyperV(libvirt) and VirtualBox (but without docker support), There is built-in vagrant snapshotter but it always does reprovisioning after restoring snapshot so it takes more time than plugin I mentioned first.

Do I need to add usage of this plugin to mdbci?

#8 Updated by Alexander Kaluzhny about 5 years ago

  • Test scenario updated (diff)

#9 Updated by Alexander Kaluzhny about 5 years ago

  • Test scenario updated (diff)

#10 Updated by Alexander Kaluzhny about 5 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

#12 Updated by Mark Zaslavskiy about 5 years ago

  • Status changed from Review to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#13 Updated by Timofey Turenko about 5 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF