Skip to content

Commit 95165d2

Browse files
committed
fix(post-rebase): proper path for streaming endpoint
1 parent 0cf8fbf commit 95165d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/test/java/net/laprun/sustainability/power/StreamChecker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class StreamChecker {
1616

1717
static void checkPowerForPID(URI uri, long pid) throws Exception {
1818
final var powerForPid = ClientBuilder.newClient().target(uri.resolve("power"))
19+
.path("stream")
1920
.path("{pid}").resolveTemplate("pid", pid);
2021

2122
try (final var eventSource = SseEventSource.target(powerForPid).build()) {

0 commit comments

Comments
 (0)