mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-28 19:24:58 +08:00
chore(rustfs): remove stale manual-test-runners feature and README (#6715)
This commit is contained in:
@@ -67,7 +67,6 @@ license = []
|
||||
io-scheduler-debug = [] # Enable debug information in I/O scheduler
|
||||
tracing-chunk-debug = [] # Enable per-chunk tracing in data plane (high noise, for debugging only)
|
||||
full = ["metrics-gpu", "ftps", "swift", "webdav", "sftp", "pyroscope"]
|
||||
manual-test-runners = []
|
||||
e2e-test-hooks = []
|
||||
# Shortens Connect credentials only in debug E2E builds.
|
||||
connect-e2e-short-credentials = []
|
||||
|
||||
@@ -591,7 +591,7 @@ struct FeatureSpec {
|
||||
default_enabled: bool,
|
||||
}
|
||||
|
||||
fn feature_specs() -> [FeatureSpec; 8] {
|
||||
fn feature_specs() -> [FeatureSpec; 7] {
|
||||
[
|
||||
FeatureSpec {
|
||||
name: "metrics-gpu",
|
||||
@@ -635,13 +635,6 @@ fn feature_specs() -> [FeatureSpec; 8] {
|
||||
dependencies: "(none)",
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
name: "manual-test-runners",
|
||||
enabled: cfg!(feature = "manual-test-runners"),
|
||||
description: "Enable manual test binaries",
|
||||
dependencies: "(none)",
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
name: "full",
|
||||
enabled: cfg!(feature = "full"),
|
||||
@@ -1008,11 +1001,11 @@ mod tests {
|
||||
let info = collect_deps_info_json();
|
||||
let feature_names: Vec<_> = info.features.iter().map(|feature| feature.name).collect();
|
||||
|
||||
assert_eq!(info.total_count, 8);
|
||||
assert_eq!(info.features.len(), 8);
|
||||
assert_eq!(info.total_count, 7);
|
||||
assert_eq!(info.features.len(), 7);
|
||||
assert!(feature_names.contains(&"metrics-gpu"));
|
||||
assert!(feature_names.contains(&"io-scheduler-debug"));
|
||||
assert!(feature_names.contains(&"manual-test-runners"));
|
||||
assert!(!feature_names.contains(&"manual-test-runners"));
|
||||
assert!(!feature_names.contains(&"metrics"));
|
||||
assert!(!feature_names.contains(&"direct-io"));
|
||||
}
|
||||
@@ -1023,7 +1016,7 @@ mod tests {
|
||||
|
||||
assert!(output.contains("| metrics-gpu |"));
|
||||
assert!(output.contains("| io-scheduler-debug |"));
|
||||
assert!(output.contains("| manual-test-runners |"));
|
||||
assert!(!output.contains("| manual-test-runners |"));
|
||||
assert!(output.contains("| ftps | enabled by default |"));
|
||||
assert!(output.contains("| webdav | enabled by default |"));
|
||||
assert!(output.contains("| full | metrics-gpu + ftps + swift + webdav |"));
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
# Manual test runners
|
||||
|
||||
Files in this directory are for manual execution only.
|
||||
They are not auto-discovered as integration tests by `cargo test`.
|
||||
|
||||
## Dial9 runner
|
||||
|
||||
Build:
|
||||
|
||||
```bash
|
||||
cargo build -p rustfs --features manual-test-runners --bin manual-test-dial9
|
||||
```
|
||||
|
||||
Run:
|
||||
|
||||
```bash
|
||||
cargo run -p rustfs --features manual-test-runners --bin manual-test-dial9
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user