Skip to content
Open
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
8 changes: 5 additions & 3 deletions springboot-basic/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ spring:
name: temporal-samples
# temporal specific configs
temporal:
namespace: default
connection:
target: 127.0.0.1:7233
workersAutoDiscovery:
packages: io.temporal.samples.springboot
namespaces:
- namespace: pomegranate
alias: pomegranate
workers-auto-discovery:
packages: io.temporal.samples.springboot
# specific for samples
samples:
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ void setUp() {

@Test
public void testHello() {
// This test fails because it is now trying to connect to 127.0.0.1:7233 instead of the in memory server, despite the test server being enabled
HelloWorkflow workflow =
workflowClient.newWorkflowStub(
HelloWorkflow.class,
Expand Down
8 changes: 5 additions & 3 deletions springboot-basic/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ spring:
temporal:
connection:
target: 127.0.0.1:7233
target.namespace: default
workersAutoDiscovery:
packages: io.temporal.samples.springboot
namespaces:
- namespace: pomegranate
alias: pomegranate
workers-auto-discovery:
packages: io.temporal.samples.springboot
# enable test server for testing
test-server:
enabled: true
Expand Down