diff options
Diffstat (limited to 'tests/dispatch.rs')
| -rw-r--r-- | tests/dispatch.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dispatch.rs b/tests/dispatch.rs index d0d4bd7..e62b351 100644 --- a/tests/dispatch.rs +++ b/tests/dispatch.rs @@ -202,7 +202,7 @@ fn a_reaped_build_resumes_at_the_next_incomplete_step_with_no_duplicate_work() { pipeline::run(&env.cfg, &env.db, &id).unwrap(), pipeline::Outcome::Failed { .. } )); - let builds_before = aur_build::shims::called_with(&env.cfg.shim_dir.clone().unwrap(), "makechrootpkg", ""); + let builds_before = aur_build::shims::called_with(&env.cfg.hooks.shim_dir.clone().unwrap(), "makechrootpkg", ""); // The worker "died" at publish: the row is leased with a lease nobody will // extend. A fresh dispatcher reaps it and a worker finishes from the @@ -223,7 +223,7 @@ fn a_reaped_build_resumes_at_the_next_incomplete_step_with_no_duplicate_work() { assert_eq!(state, BuildState::Succeeded, "the resumed build did not finish"); assert_eq!( - aur_build::shims::called_with(&env.cfg.shim_dir.clone().unwrap(), "makechrootpkg", ""), + aur_build::shims::called_with(&env.cfg.hooks.shim_dir.clone().unwrap(), "makechrootpkg", ""), builds_before, "I5: resuming must not rebuild" ); |
