File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
operator/src/test/java/com/datastax/oss/kaap/autoscaler Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ void start() {
190
190
.get ()
191
191
.withPath ("/api/v1/namespaces/ns/pods/%s" .formatted (podName ))
192
192
.andReturn (HttpURLConnection .HTTP_OK , pod )
193
- .once ();
193
+ .always ();
194
194
}
195
195
final PodList podList = new PodListBuilder ()
196
196
.withItems (pods )
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ public class LoadReportResourceUsageSourceTest {
47
47
@ Builder (setterPrefix = "with" )
48
48
public static class MockServer implements AutoCloseable {
49
49
50
-
51
50
private PulsarClusterSpec pulsarClusterSpec ;
52
51
private BiConsumer <Pod , MockServer > podConsumer ;
53
52
@@ -93,6 +92,11 @@ void start() {
93
92
.build ();
94
93
podConsumer .accept (pod , this );
95
94
pods .add (pod );
95
+ server .expect ()
96
+ .get ()
97
+ .withPath ("/api/v1/namespaces/ns/pods/%s" .formatted (podName ))
98
+ .andReturn (HttpURLConnection .HTTP_OK , pod )
99
+ .once ();
96
100
}
97
101
98
102
final PodList podList = new PodListBuilder ()
Original file line number Diff line number Diff line change 41
41
<maven .compiler.target>17</maven .compiler.target>
42
42
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
43
43
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
44
- <quarkus-sdk .version>5.0.1 </quarkus-sdk .version>
44
+ <quarkus-sdk .version>5.1.4 </quarkus-sdk .version>
45
45
<!-- kubernetes-client.version must matches the imported version by quarkus-sdk -->
46
- <kubernetes-client .version>6.2.0 </kubernetes-client .version>
46
+ <kubernetes-client .version>6.3.1 </kubernetes-client .version>
47
47
<testng .version>7.7.0</testng .version>
48
48
<mockito-core .version>4.10.0</mockito-core .version>
49
49
<lombok .version>1.18.24</lombok .version>
You can’t perform that action at this time.
0 commit comments