Skip to content

Commit

Permalink
chore(dependencies): Autobump korkVersion (#4578)
Browse files Browse the repository at this point in the history
* chore(dependencies): Autobump korkVersion

* fix(retrofit/test): keep up with SpinnakerServerException, SpinnakerNetworkException constructor changes

from spinnaker/kork#1110

---------

Co-authored-by: root <root@2f91e8016c3c>
Co-authored-by: David Byron <[email protected]>
  • Loading branch information
3 people committed Oct 30, 2023
1 parent b1071bd commit bbcb52c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fiatVersion=1.42.0
korkVersion=7.195.0
korkVersion=7.196.0
kotlinVersion=1.4.32
org.gradle.parallel=true
spinnakerGradleVersion=8.31.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,11 @@ void onlyHandlesSpinnakerServerExceptionAndSubclasses(Exception ex, boolean supp

private static Stream<Arguments> exceptionsForHandlesTest() {
RetrofitError retrofitError = makeRetrofitError(response);
okhttp3.Request request = new okhttp3.Request.Builder().url(URL).build();
return Stream.of(
Arguments.of(new SpinnakerHttpException(retrofitError), true),
Arguments.of(new SpinnakerServerException(io), true),
Arguments.of(new SpinnakerNetworkException(io), true),
Arguments.of(new SpinnakerServerException(io, request), true),
Arguments.of(new SpinnakerNetworkException(io, request), true),
Arguments.of(new RuntimeException(), false),
Arguments.of(new IllegalArgumentException(), false));
}
Expand Down

0 comments on commit bbcb52c

Please sign in to comment.