@@ -1221,6 +1221,7 @@ mod tests {
12211221 }
12221222
12231223 #[ tokio:: test]
1224+ #[ cfg( feature = "fs-store" ) ]
12241225 async fn test_basics_fs ( ) -> Result < ( ) > {
12251226 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
12261227 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -1410,6 +1411,7 @@ mod tests {
14101411 }
14111412
14121413 #[ tokio:: test]
1414+ #[ cfg( feature = "fs-store" ) ]
14131415 async fn test_content_hashes_iterator_fs ( ) -> Result < ( ) > {
14141416 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
14151417 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -1537,6 +1539,7 @@ mod tests {
15371539 }
15381540
15391541 #[ tokio:: test]
1542+ #[ cfg( feature = "fs-store" ) ]
15401543 async fn test_timestamps_fs ( ) -> Result < ( ) > {
15411544 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
15421545 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -1600,6 +1603,7 @@ mod tests {
16001603 }
16011604
16021605 #[ tokio:: test]
1606+ #[ cfg( feature = "fs-store" ) ]
16031607 async fn test_replica_sync_fs ( ) -> Result < ( ) > {
16041608 let alice_dbfile = tempfile:: NamedTempFile :: new ( ) ?;
16051609 let alice_store = store:: fs:: Store :: persistent ( alice_dbfile. path ( ) ) ?;
@@ -1653,6 +1657,7 @@ mod tests {
16531657 }
16541658
16551659 #[ tokio:: test]
1660+ #[ cfg( feature = "fs-store" ) ]
16561661 async fn test_replica_timestamp_sync_fs ( ) -> Result < ( ) > {
16571662 let alice_dbfile = tempfile:: NamedTempFile :: new ( ) ?;
16581663 let alice_store = store:: fs:: Store :: persistent ( alice_dbfile. path ( ) ) ?;
@@ -1796,6 +1801,7 @@ mod tests {
17961801 }
17971802
17981803 #[ tokio:: test]
1804+ #[ cfg( feature = "fs-store" ) ]
17991805 async fn test_prefix_delete_fs ( ) -> Result < ( ) > {
18001806 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
18011807 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -1850,6 +1856,7 @@ mod tests {
18501856 }
18511857
18521858 #[ tokio:: test]
1859+ #[ cfg( feature = "fs-store" ) ]
18531860 async fn test_replica_sync_delete_fs ( ) -> Result < ( ) > {
18541861 let alice_dbfile = tempfile:: NamedTempFile :: new ( ) ?;
18551862 let alice_store = store:: fs:: Store :: persistent ( alice_dbfile. path ( ) ) ?;
@@ -1902,6 +1909,7 @@ mod tests {
19021909 }
19031910
19041911 #[ tokio:: test]
1912+ #[ cfg( feature = "fs-store" ) ]
19051913 async fn test_replica_remove_fs ( ) -> Result < ( ) > {
19061914 let alice_dbfile = tempfile:: NamedTempFile :: new ( ) ?;
19071915 let alice_store = store:: fs:: Store :: persistent ( alice_dbfile. path ( ) ) ?;
@@ -1954,6 +1962,7 @@ mod tests {
19541962 }
19551963
19561964 #[ tokio:: test]
1965+ #[ cfg( feature = "fs-store" ) ]
19571966 async fn test_replica_delete_edge_cases_fs ( ) -> Result < ( ) > {
19581967 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
19591968 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -2021,6 +2030,7 @@ mod tests {
20212030 }
20222031
20232032 #[ tokio:: test]
2033+ #[ cfg( feature = "fs-store" ) ]
20242034 async fn test_latest_iter_fs ( ) -> Result < ( ) > {
20252035 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
20262036 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -2063,6 +2073,7 @@ mod tests {
20632073 }
20642074
20652075 #[ tokio:: test]
2076+ #[ cfg( feature = "fs-store" ) ]
20662077 async fn test_replica_byte_keys_fs ( ) -> Result < ( ) > {
20672078 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
20682079 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -2111,6 +2122,7 @@ mod tests {
21112122 }
21122123
21132124 #[ tokio:: test]
2125+ #[ cfg( feature = "fs-store" ) ]
21142126 async fn test_replica_capability_fs ( ) -> Result < ( ) > {
21152127 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
21162128 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -2159,6 +2171,7 @@ mod tests {
21592171 }
21602172
21612173 #[ tokio:: test]
2174+ #[ cfg( feature = "fs-store" ) ]
21622175 async fn test_actor_capability_fs ( ) -> Result < ( ) > {
21632176 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
21642177 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -2282,6 +2295,7 @@ mod tests {
22822295 }
22832296
22842297 #[ tokio:: test]
2298+ #[ cfg( feature = "fs-store" ) ]
22852299 async fn test_replica_queries_fs ( ) -> Result < ( ) > {
22862300 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
22872301 let store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
@@ -2470,6 +2484,7 @@ mod tests {
24702484 }
24712485
24722486 #[ test]
2487+ #[ cfg( feature = "fs-store" ) ]
24732488 fn test_dl_policies_fs ( ) -> Result < ( ) > {
24742489 let dbfile = tempfile:: NamedTempFile :: new ( ) ?;
24752490 let mut store = store:: fs:: Store :: persistent ( dbfile. path ( ) ) ?;
0 commit comments