Skip to content

Commit 2519af5

Browse files
artur-ciocanuArtur Ciocanu
authored andcommitted
Add app health check support to Dapr Testcontainer (#1213)
* Add app health check support to Dapr Testcontainer Signed-off-by: Artur Ciocanu <[email protected]> * Some minor cleanup Signed-off-by: Artur Ciocanu <[email protected]> * Move waiting to beforeEach, it looks more natural Signed-off-by: Artur Ciocanu <[email protected]> --------- Signed-off-by: Artur Ciocanu <[email protected]> Co-authored-by: Artur Ciocanu <[email protected]> Signed-off-by: Christian Kaps <[email protected]>
1 parent d198865 commit 2519af5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk-tests/src/test/java/io/dapr/it/spring/messaging/DaprSpringMessagingIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ public void testDaprMessagingTemplate() throws InterruptedException {
104104

105105
assertThat(events.size()).isEqualTo(10);
106106
}
107-
}
107+
}

sdk-tests/src/test/java/io/dapr/it/spring/messaging/TestRestController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public String ok() {
3939
}
4040

4141
@Topic(name = topicName, pubsubName = pubSubName)
42-
@PostMapping("subscribe")
42+
@PostMapping("/subscribe")
4343
public void handleMessages(@RequestBody CloudEvent<String> event) {
4444
LOG.info("++++++CONSUME {}------", event);
4545
events.add(event);

0 commit comments

Comments
 (0)