Pin backup evaluation to the report of the Proxmox VE 9.2 test host
Rust development slice / linux (push) Failing after 10s
Rust development slice / linux (push) Failing after 10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -242,6 +242,18 @@ mod tests {
|
||||
assert_eq!(status["last_success_at"]["100"], 1050);
|
||||
}
|
||||
|
||||
/// Observation reported by the Proxmox VE 9.2 test host on 2026-11-20.
|
||||
#[test]
|
||||
fn real_proxmox_92_report_validates_and_counts_the_due_run() {
|
||||
let data: Value = serde_json::from_str(include_str!("proxmox_pve92_fixture.json")).unwrap();
|
||||
validate(&data).unwrap();
|
||||
let status = backup_status(&data).unwrap();
|
||||
assert_eq!(status["jobs"][0]["id"], "backup-debian");
|
||||
assert_eq!(status["jobs"][0]["status"], "ok");
|
||||
assert_eq!(status["all_scheduled_backups_ran"], true);
|
||||
assert_eq!(data["not_backed_up"], json!([101]));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn missing_and_running_runs_are_distinguished() {
|
||||
let mut doc = sample();
|
||||
|
||||
Reference in New Issue
Block a user