Skip to content

Resolve "Host Max Duration Check Upon Renew"

Matthew Sevey requested to merge 3202-host-max-duration-check-upon-renew into master

Closes #3202 (closed)

Currently the contractor does not check the Host's MaxDuration when forming or renewing contracts. This can lead to excessive contract renewals due to the Host have a MaxDuration shorter than the allowance period.

This MR adds a check for when contracts are renewed and for when contracts are first formed to make sure the host's MaxDuration is sufficient. A unit test was added to support the change.

Edited by Matthew Sevey

Merge request reports