Skip to content

Commit bbcb52c

Browse files
spinnakerbotrootdbyron-sf
authored
chore(dependencies): Autobump korkVersion (#4578)
* 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 <dbyron@salesforce.com>
1 parent b1071bd commit bbcb52c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
fiatVersion=1.42.0
2-
korkVersion=7.195.0
2+
korkVersion=7.196.0
33
kotlinVersion=1.4.32
44
org.gradle.parallel=true
55
spinnakerGradleVersion=8.31.0

orca-retrofit/src/test/java/com/netflix/spinnaker/orca/retrofit/exceptions/SpinnakerServerExceptionHandlerTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,11 @@ void onlyHandlesSpinnakerServerExceptionAndSubclasses(Exception ex, boolean supp
142142

143143
private static Stream<Arguments> exceptionsForHandlesTest() {
144144
RetrofitError retrofitError = makeRetrofitError(response);
145+
okhttp3.Request request = new okhttp3.Request.Builder().url(URL).build();
145146
return Stream.of(
146147
Arguments.of(new SpinnakerHttpException(retrofitError), true),
147-
Arguments.of(new SpinnakerServerException(io), true),
148-
Arguments.of(new SpinnakerNetworkException(io), true),
148+
Arguments.of(new SpinnakerServerException(io, request), true),
149+
Arguments.of(new SpinnakerNetworkException(io, request), true),
149150
Arguments.of(new RuntimeException(), false),
150151
Arguments.of(new IllegalArgumentException(), false));
151152
}

0 commit comments

Comments
 (0)