Files
lancedb/rust
Bilal AtiqueandBilal Atique dc771eb94f test(rust): run the mirroring e2e test again through file-object-store
Closes #3059.

`io::object_store::test::test_e2e` has been `#[ignore]`d since Lance started writing local tables through `LocalWriter`. For a `file://` store, `ObjectStore::create()` returns a `LocalWriter` that writes straight to disk, so `MirroringObjectStoreWrapper` never sees the writes and the secondary stays empty.

Lance's `file-object-store://` scheme uses the same local provider, but `create()` only takes the `LocalWriter` path for `file`, so every other scheme writes through the wrapped store. This connects the test to `file-object-store://<dir1>` and drops the `#[ignore]`. The table files still land in `dir1`, so the existing file-list comparison covers the mirroring wrapper on real files again.

The two relative file lists are sorted before comparison so the assertion detects missing and extra files independently of `WalkDir` traversal order. The row and vector-query assertions remain unchanged.

Validation:
- Rust object-store module at `b11f7a9684d94100f40818d1249479c726b2b006`: 3 passed, with the focused `test_e2e` included.
- Hosted Linux test merge: `test_e2e` passed and the library reported 2046 passed.
- Complete applicable CI at the final head: 8 workflows and 39 successful checks passed; 2 conditional jobs were skipped.

Co-authored-by: Bilal Atique <bilalbinatique@gmail.com>
2026-11-03 19:52:01 +08:00
..