Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various test fixes #1332

Merged
Merged
Show file tree
Hide file tree
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
12 changes: 0 additions & 12 deletions src/tests/dbus-tests/skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,3 @@
- distro: ["centos", "enterprise_linux"]
version: "7"
reason: "SCSI debug bug causing kernel panic on CentOS/RHEL 7"

- test: test_80_filesystem.EXFATTestCase.test_uuid
skip_on:
- distro: "fedora"
version: ["39", "40", "41"]
reason: Setting UUID with LC_ALL=C.UTF-8 is broken with recent exfatprogs

- test: test_20_LVM.UdisksLVMVDOTest
skip_on:
- distro: "centos"
version: "10"
reason: "vdo userspace tools are not yet available on RHEL/CentOS 10"
6 changes: 3 additions & 3 deletions src/tests/dbus-tests/test_20_LVM.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def test_30_snapshot(self):
# Create the origin LV
vgsize = int(self.get_property_raw(vg, '.VolumeGroup', 'FreeSize'))
lvname = 'udisks_test_origin_lv'
lv_path = vg.CreatePlainVolume(lvname, dbus.UInt64(vgsize / 2), self.no_options,
lv_path = vg.CreatePlainVolume(lvname, dbus.UInt64(vgsize // 3), self.no_options,
dbus_interface=self.iface_prefix + '.VolumeGroup')
lv = self.bus.get_object(self.iface_prefix, lv_path)
self.assertIsNotNone(lv)
Expand Down Expand Up @@ -477,7 +477,7 @@ def test_40_cache(self):
# Create the origin LV
vgsize = int(self.get_property_raw(vg, '.VolumeGroup', 'FreeSize'))
orig_lvname = 'udisks_test_origin_lv'
lv_path = vg.CreatePlainVolume(orig_lvname, dbus.UInt64(vgsize / 2), self.no_options,
lv_path = vg.CreatePlainVolume(orig_lvname, dbus.UInt64(vgsize // 3), self.no_options,
dbus_interface=self.iface_prefix + '.VolumeGroup')
lv = self.bus.get_object(self.iface_prefix, lv_path)
self.assertIsNotNone(lv)
Expand All @@ -489,7 +489,7 @@ def test_40_cache(self):
cache_lvname = 'udisks_test_cache_lv'
vgsize = int(self.get_property_raw(vg, '.VolumeGroup', 'FreeSize'))
# 8 MiB reserved for the cache metadata created automatically by LVM
lv_cache_path = vg.CreatePlainVolume(cache_lvname, dbus.UInt64((vgsize / 2) - 8 * 1024**2), self.no_options,
lv_cache_path = vg.CreatePlainVolume(cache_lvname, dbus.UInt64((vgsize // 3) - 8 * 1024**2), self.no_options,
dbus_interface=self.iface_prefix + '.VolumeGroup')
cache_lv = self.bus.get_object(self.iface_prefix, lv_cache_path)
self.assertIsNotNone(cache_lv)
Expand Down