File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -990,6 +990,7 @@ mod tests {
990990 use crate :: ranger:: Store as _;
991991
992992 #[ tokio:: test]
993+ #[ cfg( feature = "fs-store" ) ]
993994 async fn test_ranges ( ) -> Result < ( ) > {
994995 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
995996 let mut store = Store :: persistent ( dbfile. path ( ) ) ?;
@@ -1017,6 +1018,7 @@ mod tests {
10171018 }
10181019
10191020 #[ test]
1021+ #[ cfg( feature = "fs-store" ) ]
10201022 fn test_basics ( ) -> Result < ( ) > {
10211023 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
10221024 let mut store = Store :: persistent ( dbfile. path ( ) ) ?;
@@ -1108,6 +1110,7 @@ mod tests {
11081110 }
11091111
11101112 #[ tokio:: test]
1113+ #[ cfg( feature = "fs-store" ) ]
11111114 async fn test_migration_001_populate_latest_table ( ) -> Result < ( ) > {
11121115 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
11131116 let namespace = NamespaceSecret :: new ( & mut rand:: rng ( ) ) ;
@@ -1151,6 +1154,7 @@ mod tests {
11511154 }
11521155
11531156 #[ test]
1157+ #[ cfg( feature = "fs-store" ) ]
11541158 fn test_migration_004_populate_by_key_index ( ) -> Result < ( ) > {
11551159 use redb:: ReadableTableMetadata ;
11561160 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
You can’t perform that action at this time.
0 commit comments