mirror of
https://github.com/hanzoai/s3.git
synced 2026-10-30 14:59:09 +00:00
Kill MinIO; migrate object storage to SeaweedFS, rebranded Hanzo S3.
- module github.com/hanzoai/s3 (all 1920 imports rewritten); seaweedfs/{raft,goexif,go-fuse,cockroachdb-parser} kept as deps
- binary weed -> s3; display brand SeaweedFS -> Hanzo S3 (Server/version/admin); wire identifiers unchanged for S3 compat
- Dockerfile builds s3 (CGO_ENABLED=0, ldflags) -> ghcr.io/hanzoai/s3 via shared CI
- MinIO preserved in git history (prior main)
21 lines
493 B
Go
21 lines
493 B
Go
package framework
|
|
|
|
import "testing"
|
|
|
|
func TestUseRustVolumeServer(t *testing.T) {
|
|
t.Setenv("VOLUME_SERVER_IMPL", "rust")
|
|
if !useRustVolumeServer() {
|
|
t.Fatalf("expected rust selection when VOLUME_SERVER_IMPL=rust")
|
|
}
|
|
|
|
t.Setenv("VOLUME_SERVER_IMPL", "go")
|
|
if useRustVolumeServer() {
|
|
t.Fatalf("expected go selection when VOLUME_SERVER_IMPL=go")
|
|
}
|
|
|
|
t.Setenv("VOLUME_SERVER_IMPL", "")
|
|
if useRustVolumeServer() {
|
|
t.Fatalf("expected go selection when VOLUME_SERVER_IMPL is unset")
|
|
}
|
|
}
|