Merge "MetadataCrypt: extend timeout for low performance device"

This commit is contained in:
Treehugger Robot 2023-02-17 16:50:01 +00:00 committed by Gerrit Code Review
commit c2b0578e19

View file

@ -194,7 +194,7 @@ static bool create_crypto_blk_dev(const std::string& dm_name, const std::string&
LOG(ERROR) << "Failed to populate default-key device " << dm_name;
return false;
}
if (!dm.WaitForDevice(dm_name, 5s, crypto_blkdev)) {
if (!dm.WaitForDevice(dm_name, 20s, crypto_blkdev)) {
LOG(ERROR) << "Failed to wait for default-key device " << dm_name;
return false;
}