summaryrefslogtreecommitdiff
path: root/tests/vmtests/test_bcache_partitions.py
blob: f41e6455e5d49981b95867c47142cc5d83c5e86f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file is part of curtin. See LICENSE file for copyright and license info.

from .releases import base_vm_classes as relbase
from .test_bcache_basic import TestBcacheBasic


class TestBcachePartitions(TestBcacheBasic):
    conf_file = "examples/tests/bcache-partitions.yaml"
    dirty_disks = True
    nr_cpus = 2
    extra_disks = ['10G', '10G']


class XenialTestBcachePartitions(relbase.xenial, TestBcachePartitions):
    # Xenial 4.4 kernel does not support bcache partitions
    expected_failure = True
    __test__ = True


class XenialHWETestBcachePartitions(relbase.xenial_hwe, TestBcachePartitions):
    __test__ = True


class BionicTestBcachePartitions(relbase.bionic, TestBcachePartitions):
    __test__ = True


class EoanTestBcachePartitions(relbase.eoan, TestBcachePartitions):
    __test__ = True


class FocalTestBcachePartitions(relbase.focal, TestBcachePartitions):
    __test__ = True


# vi: ts=4 expandtab syntax=python