Skip to content

Commit

Permalink
fix failpoints test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtrystram committed Jan 15, 2025
1 parent 20f1692 commit 5e7e494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rpm_ostree/cli_deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ mod tests {
age_index: None,
is_oci: false,
};
let result = deploy_locked(release, true);
let result = deploy_locked(release, true, None);
assert!(result.is_err());
assert!(DEPLOY_ATTEMPTS.get() >= 1);
assert!(DEPLOY_FAILURES.get() >= 1);
Expand All @@ -188,7 +188,7 @@ mod tests {
age_index: None,
is_oci: false,
};
let result = deploy_locked(release.clone(), true).unwrap();
let result = deploy_locked(release.clone(), true, None).unwrap();
assert_eq!(result, release);
assert!(DEPLOY_ATTEMPTS.get() >= 1);
}
Expand Down

0 comments on commit 5e7e494

Please sign in to comment.