blivet icon indicating copy to clipboard operation
blivet copied to clipboard

tests: add dbus example to traverse the devices and call test the Factory()

Open trgill opened this issue 1 year ago • 4 comments

Added block device list as "--blockdevs" parameter. It accepts block devices in the format "/dev/xxx,/dev/xxx".

Call the Factory() to test DEVICE_TYPE_LVM, DEVICE_TYPE_BTRFS, DEVICE_TYPE_MD and DEVICE_TYPE_STRATIS.

trgill avatar May 03 '23 12:05 trgill

Can one of the admins verify this patch?

StorageGhoul avatar May 03 '23 12:05 StorageGhoul

@vojtechtrefny @dwlehman would it make sense to merge this as an example?

I think we might want to add something similar to automated tests?

These calls are what the CSI driver uses - just FYI.

trgill avatar May 03 '23 12:05 trgill

Jenkins, ok to test.

vojtechtrefny avatar May 04 '23 19:05 vojtechtrefny

@vojtechtrefny @dwlehman would it make sense to merge this as an example?

Definitely, more examples could never hurt.

vojtechtrefny avatar Nov 24 '23 12:11 vojtechtrefny