Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void start() {
.get()
.withPath("/api/v1/namespaces/ns/pods/%s".formatted(podName))
.andReturn(HttpURLConnection.HTTP_OK, pod)
.once();
.always();
}
final PodList podList = new PodListBuilder()
.withItems(pods)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public class LoadReportResourceUsageSourceTest {
@Builder(setterPrefix = "with")
public static class MockServer implements AutoCloseable {


private PulsarClusterSpec pulsarClusterSpec;
private BiConsumer<Pod, MockServer> podConsumer;

Expand Down Expand Up @@ -93,6 +92,11 @@ void start() {
.build();
podConsumer.accept(pod, this);
pods.add(pod);
server.expect()
.get()
.withPath("/api/v1/namespaces/ns/pods/%s".formatted(podName))
.andReturn(HttpURLConnection.HTTP_OK, pod)
.once();
}

final PodList podList = new PodListBuilder()
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus-sdk.version>5.0.1</quarkus-sdk.version>
<quarkus-sdk.version>5.1.4</quarkus-sdk.version>
<!-- kubernetes-client.version must matches the imported version by quarkus-sdk -->
<kubernetes-client.version>6.2.0</kubernetes-client.version>
<kubernetes-client.version>6.3.1</kubernetes-client.version>
<testng.version>7.7.0</testng.version>
<mockito-core.version>4.10.0</mockito-core.version>
<lombok.version>1.18.24</lombok.version>
Expand Down