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