mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 00:17:11 +00:00
test(diagnose): run binary smoke in CI (#6605)
This commit is contained in:
@@ -215,11 +215,8 @@ fn cli_parses_diagnose_and_keeps_legacy_server_routing() {
|
||||
assert!(matches!(legacy, Ok(CommandResult::Server(_))));
|
||||
}
|
||||
|
||||
/// True-binary smoke test. Ignored by default: building the full rustfs
|
||||
/// binary is expensive; run locally with
|
||||
/// `cargo test -p rustfs --test diagnose_e2e -- --ignored`.
|
||||
/// True-binary smoke test for the user-facing diagnose command.
|
||||
#[test]
|
||||
#[ignore = "builds the full rustfs binary; run with -- --ignored"]
|
||||
fn binary_smoke_diagnose_json() {
|
||||
let dir = tempfile::tempdir().expect("tempdir");
|
||||
std::fs::write(dir.path().join("rustfs.log"), quorum_and_faulty_lines()).expect("write");
|
||||
|
||||
Reference in New Issue
Block a user