Files
seaweedfs/test/volume_server
user.email 9436099d55 Merge remote-tracking branch 'origin/master' into codex-rust-volume-server-bootstrap
# Conflicts:
#	.github/workflows/volume-server-integration-tests.yml
#	test/volume_server/framework/cluster.go
#	test/volume_server/framework/cluster_dual.go
#	test/volume_server/framework/volume_fixture.go
#	test/volume_server/grpc/data_stream_success_test.go
#	test/volume_server/http/public_cors_methods_test.go
#	test/volume_server/matrix/config_profiles.go
2026-10-24 22:23:33 -07:00
..
2026-04-10 17:31:14 -07:00

Volume Server Integration Tests

This package contains integration tests for SeaweedFS volume server HTTP and gRPC APIs.

Run Tests

Run tests from repo root:

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 Rust launcher mode).
  • VOLUME_SERVER_BINARY: explicit path to the volume-server executable (overrides VOLUME_SERVER_IMPL).
  • VOLUME_SERVER_RUST_MODE: Rust launcher mode (native default, exec for direct Go delegation, proxy for Rust front proxy + Go backend).
  • VOLUME_SERVER_RUST_REBUILD=1: force rebuild of Rust volume-server binary in Rust mode.
  • 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.