This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
Write unit test for LVM device manager's creteNS()
functionality
#692
Labels
future
needs to be fixed in some future release
As pointed in #688 (comment), currently, there are no tests for validating if the LVM device manager uses only requested
pmemPercentage
out of available PMEM space of a region. This is a bit complicated as the testing this requires underlined PMEM region/namespace properties.It would be good if we could find a way to develop a test case for this. As suggest by @pohly, one way is making
createNS()
work on an interface, so that tests could have a mock implementation.The text was updated successfully, but these errors were encountered: