miroir/Cargo.toml
jedarden 7832d1b578 test(integration): Add integration tests per plan §8
Add comprehensive integration tests for Miroir with 3 Meilisearch nodes
via docker-compose. Tests cover:

- Document round-trip with distribution verification (1000 docs)
- Search covers all shards (100 docs with unique keywords)
- Facet aggregation across shards (100 docs, 3 colors)
- Offset/limit paging consistency (50 docs, 5×paged vs single)
- Settings broadcast to all nodes (synonyms test)
- Task polling for large batches (500 docs)
- Node failure with RF=2 (requires docker-compose-dev-rf2)

Also added integration test README with setup and running instructions.

Per plan §8: Integration tests validate end-to-end behavior including
document distribution, shard coverage, facet aggregation, paging, settings
broadcast, task polling, and node failure with RF=2.

Closes: miroir-89x (Phase 9 — Testing)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 01:29:45 -04:00

23 lines
646 B
TOML

[workspace]
resolver = "2"
members = ["crates/miroir-core", "crates/miroir-proxy", "crates/miroir-ctl"]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/jedarden/miroir"
rust-version = "1.87"
[workspace.dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
tracing = "0.1"
pretty_assertions = "1.4"
rusqlite = { version = "0.39", features = ["bundled"] }
criterion = "0.5"
meilisearch-sdk = "0.27"
tokio = { version = "1", features = ["rt", "rt-multi-thread", "time", "sync", "macros"] }
reqwest = { version = "0.12", features = ["json"] }