mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-30 17:00:48 +01:00
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
# Volume Server Integration Tests
|
|
|
|
This package contains integration tests for SeaweedFS volume server HTTP and gRPC APIs.
|
|
|
|
## Run Tests
|
|
|
|
Run tests from repo root:
|
|
|
|
```bash
|
|
go test ./test/volume_server/... -v
|
|
```
|
|
|
|
If a `weed` binary is not found, the harness will build one automatically.
|
|
|
|
## Optional environment variables
|
|
|
|
- `WEED_BINARY`: explicit path to the `weed` executable (disables auto-build).
|
|
- `VOLUME_SERVER_IMPL`: select volume-server implementation (`go` default, `rust` for a Rust volume server).
|
|
- `RUST_VOLUME_BINARY`: explicit path to the Rust volume-server executable (overrides crate auto-detect).
|
|
- `VOLUME_SERVER_RUST_MODE`: `weed-volume-rs` launcher mode (`native` default, `exec` for direct Go delegation, `proxy` for Rust front proxy + Go backend).
|
|
- `VOLUME_SERVER_IT_KEEP_LOGS=1`: keep temporary test directories and process logs.
|
|
|
|
## Current scope (Phase 0)
|
|
|
|
- Shared cluster/framework utilities
|
|
- Matrix profile definitions
|
|
- Initial HTTP admin endpoint checks
|
|
- Initial gRPC state/status checks
|
|
|
|
More API coverage is tracked in `test/volume_server/DEV_PLAN.md`.
|