xl: Always set root disk to true in test environment (#11094)
Tests environments (go test or manual testing) should always consider the passed disks are root disks and should not rely on disk.IsRootDisk() function. The reason is that this latter can return a false negative when called in a busy system. However, returning a false negative will only occur in a testing environment and not in a production, so we can accept this trade-off for now.master
parent
31bf6f0c25
commit
f164085227
Loading…
Reference in new issue