Skip to content

Commit da7145c

Browse files
committed
more feature gating
1 parent e96d78f commit da7145c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/store/gc.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ mod tests {
253253
use crate::{
254254
api::{blobs::AddBytesOptions, ExportBaoError, RequestError, Store},
255255
hashseq::HashSeq,
256-
store::{fs::options::PathOptions, util::tests::create_n0_bao},
256+
store::util::tests::create_n0_bao,
257257
BlobFormat,
258258
};
259259

@@ -324,7 +324,9 @@ mod tests {
324324
Ok(())
325325
}
326326

327+
#[cfg(feature = "fs-store")]
327328
async fn gc_file_delete(path: &Path, store: &Store) -> TestResult<()> {
329+
use crate::store::fs::options::PathOptions;
328330
let mut live = HashSet::new();
329331
let options = PathOptions::new(&path.join("db"));
330332
// create a large complete file and check that the data and outboard files are deleted by gc

0 commit comments

Comments
 (0)