Skip to content

Commit

Permalink
fix(core/test): keep up with SpinnakerNetworkException constructor ch…
Browse files Browse the repository at this point in the history
…anges

from spinnaker/kork#1110
  • Loading branch information
dbyron-sf committed Oct 30, 2023
1 parent e73dcf2 commit b919353
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ public void retriesNetworkErrorTillMaxAttemptsAndThrowsException() throws IOExce
any(CanaryConfig.class),
any(CanaryMetricConfig.class),
any(CanaryScope.class)))
.thenThrow(new SpinnakerNetworkException(new SocketTimeoutException()));
.thenThrow(
new SpinnakerNetworkException(
RetrofitError.networkError("http://some-url", new SocketTimeoutException())));

assertThatThrownBy(
() ->
Expand Down

0 comments on commit b919353

Please sign in to comment.