ironic-lib/ironic_lib/tests
Julia Kreger a8b84e8b7f Rescan after making partition changes
Long story short, we need to rescan after making
partition changes.

Without forcing a filesystem sync and rescan operation,
we rely upon lazy write-out from buffers to the block
device when operating with a ramdisk.

This is because ramfs does NOT actually operate with fsync
where as GNU parted utilizes fsync on the device in an
attempt to force the write to disk to occur. This is fine
if your booted with devfs, or say even a physical block
device that backs /dev, just not ramfs.

Change-Id: I66481d5f3c17a489f7bdf0af82e31b9107605968
Story: 2006423
Task: 36316
(cherry picked from commit 2a83c0add0)
2019-08-21 15:19:38 +00:00
..
__init__.py Move tests/ under ironic_lib/, use ostestr 2015-09-30 09:37:17 -07:00
base.py Prevent configuration changes in unit tests from affecting each other 2018-10-01 15:54:39 +00:00
test_base.py Fix issue with double mocking of utils.execute functions 2017-12-11 07:26:42 -08:00
test_disk_partitioner.py Add logic to create PReP partition for ppc64* arch 2018-07-16 14:26:50 +00:00
test_disk_utils.py Rescan after making partition changes 2019-08-21 15:19:38 +00:00
test_metrics.py Use six.wraps() for Metrics so decorated methods can be inspected 2018-02-01 08:47:01 -08:00
test_metrics_statsd.py Prevent tests from using utils.execute() 2017-05-17 09:21:26 -07:00
test_metrics_utils.py Adjust test with option 'backend' 2017-06-16 11:26:02 +08:00
test_utils.py Prevent configuration changes in unit tests from affecting each other 2018-10-01 15:54:39 +00:00