Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions test/integration/testpaths/testpath_snapshot_limits.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def setUpClass(cls):
cls.testdata["ostype"])

cls._cleanup = []
cls.snapshotSupported = True

if cls.hypervisor.lower() in ["hyperv", "lxc"]:
cls.snapshotSupported = False
return

try:

Expand Down Expand Up @@ -114,6 +119,9 @@ def setUp(self):
self.dbclient = self.testClient.getDbConnection()
self.cleanup = []

if not self.snapshotSupported:
self.skipTest("Snapshots are not supported on %s" % self.hypervisor)

def tearDown(self):
try:
cleanup_resources(self.apiclient, self.cleanup)
Expand Down