@@ -607,7 +607,7 @@ mod tests {
607607 let transport = FakeTransport {
608608 device_type : DeviceType :: Block ,
609609 max_queue_size : QUEUE_SIZE . into ( ) ,
610- device_features : 0 ,
610+ device_features : BlkFeature :: RING_INDIRECT_DESC . bits ( ) ,
611611 config_space : NonNull :: from ( & mut config_space) ,
612612 state : state. clone ( ) ,
613613 } ;
@@ -677,7 +677,7 @@ mod tests {
677677 let transport = FakeTransport {
678678 device_type : DeviceType :: Block ,
679679 max_queue_size : QUEUE_SIZE . into ( ) ,
680- device_features : 0 ,
680+ device_features : BlkFeature :: RING_INDIRECT_DESC . bits ( ) ,
681681 config_space : NonNull :: from ( & mut config_space) ,
682682 state : state. clone ( ) ,
683683 } ;
@@ -752,7 +752,7 @@ mod tests {
752752 let transport = FakeTransport {
753753 device_type : DeviceType :: Block ,
754754 max_queue_size : QUEUE_SIZE . into ( ) ,
755- device_features : BlkFeature :: FLUSH . bits ( ) ,
755+ device_features : ( BlkFeature :: RING_INDIRECT_DESC | BlkFeature :: FLUSH ) . bits ( ) ,
756756 config_space : NonNull :: from ( & mut config_space) ,
757757 state : state. clone ( ) ,
758758 } ;
@@ -819,7 +819,7 @@ mod tests {
819819 let transport = FakeTransport {
820820 device_type : DeviceType :: Block ,
821821 max_queue_size : QUEUE_SIZE . into ( ) ,
822- device_features : 0 ,
822+ device_features : BlkFeature :: RING_INDIRECT_DESC . bits ( ) ,
823823 config_space : NonNull :: from ( & mut config_space) ,
824824 state : state. clone ( ) ,
825825 } ;
0 commit comments