-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instant cannot be cast to Duration #54
Comments
This should be caused by breaking changes introduced in failsafe 3.3, which replaces some |
This is the relevant code: (defn- deploy-and-email [release {:keys [retry-delay-ms send-email port-current]
:as opts}]
(try
(with-retry
{:retry-on IllegalArgumentException
:delay-ms retry-delay-ms
:max-retries 3
:on-retry
(fn [_result ex]
(m/inc m-deploy-retry)
(when-not (str/includes? (str ex) "Host URL cannot be nil")
(send-email (str "Retry Deploy " release)
[:pre (with-out-str (print-stack-trace ex))])))}
(deploy-release release opts))
(m/inc m-deploy-success)
(send-email (str "Deployed " release) (release-email release opts))
(stop-target port-current opts)
(catch Throwable t
(m/inc m-deploy-fail)
(send-email (str "Failed Deploy " release)
[:pre (with-out-str (print-stack-trace t))])))) |
This is weird. It should be |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to upgrade from
0.11.3
to0.11.6
and one of my tests failed with this. Still investigating but possibly related to e82bf79?The text was updated successfully, but these errors were encountered: