Skip to content

Commit

Permalink
Skip XFS tests on BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrivastavv committed Sep 6, 2023
1 parent fa6b18e commit 4af9883
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions microsoft/testsuites/xfstests/xfstesting.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
simple_requirement,
)
from lisa.features import Disk, Nvme
from lisa.operating_system import Redhat
from lisa.operating_system import BSD, Redhat, Windows
from lisa.sut_orchestrator import AZURE
from lisa.sut_orchestrator.azure.common import (
check_or_create_storage_account,
Expand Down Expand Up @@ -151,6 +151,7 @@ class Xfstesting(TestSuite):
data_disk_iops=500,
data_disk_count=search_space.IntRange(min=1),
),
unsupported_os=[BSD, Windows],
),
timeout=TIME_OUT,
use_new_environment=True,
Expand Down Expand Up @@ -187,6 +188,7 @@ def verify_generic_standard_datadisk(
data_disk_iops=500,
data_disk_count=search_space.IntRange(min=1),
),
unsupported_os=[BSD, Windows],
),
timeout=TIME_OUT,
use_new_environment=True,
Expand Down Expand Up @@ -222,6 +224,7 @@ def verify_xfs_standard_datadisk(self, log_path: Path, result: TestResult) -> No
data_disk_iops=500,
data_disk_count=search_space.IntRange(min=1),
),
unsupported_os=[BSD, Windows],
),
timeout=TIME_OUT,
use_new_environment=True,
Expand Down Expand Up @@ -258,6 +261,7 @@ def verify_ext4_standard_datadisk(self, log_path: Path, result: TestResult) -> N
data_disk_iops=500,
data_disk_count=search_space.IntRange(min=1),
),
unsupported_os=[BSD, Windows],
),
timeout=TIME_OUT,
use_new_environment=True,
Expand Down Expand Up @@ -294,7 +298,7 @@ def verify_btrfs_standard_datadisk(
priority=3,
use_new_environment=True,
requirement=simple_requirement(
supported_features=[Nvme],
supported_features=[Nvme], unsupported_os=[BSD, Windows]
),
)
def verify_generic_nvme_datadisk(self, log_path: Path, result: TestResult) -> None:
Expand Down Expand Up @@ -323,7 +327,7 @@ def verify_generic_nvme_datadisk(self, log_path: Path, result: TestResult) -> No
priority=3,
use_new_environment=True,
requirement=simple_requirement(
supported_features=[Nvme],
supported_features=[Nvme], unsupported_os=[BSD, Windows]
),
)
def verify_xfs_nvme_datadisk(self, log_path: Path, result: TestResult) -> None:
Expand Down Expand Up @@ -353,7 +357,7 @@ def verify_xfs_nvme_datadisk(self, log_path: Path, result: TestResult) -> None:
priority=3,
use_new_environment=True,
requirement=simple_requirement(
supported_features=[Nvme],
supported_features=[Nvme], unsupported_os=[BSD, Windows]
),
)
def verify_ext4_nvme_datadisk(self, log_path: Path, result: TestResult) -> None:
Expand Down Expand Up @@ -384,7 +388,7 @@ def verify_ext4_nvme_datadisk(self, log_path: Path, result: TestResult) -> None:
priority=3,
use_new_environment=True,
requirement=simple_requirement(
supported_features=[Nvme],
supported_features=[Nvme], unsupported_os=[BSD, Windows]
),
)
def verify_btrfs_nvme_datadisk(self, log_path: Path, result: TestResult) -> None:
Expand Down Expand Up @@ -415,6 +419,7 @@ def verify_btrfs_nvme_datadisk(self, log_path: Path, result: TestResult) -> None
requirement=simple_requirement(
min_core_count=16,
supported_platform_type=[AZURE],
unsupported_os=[BSD, Windows],
),
timeout=TIME_OUT,
use_new_environment=True,
Expand Down

0 comments on commit 4af9883

Please sign in to comment.