Skip to content

Commit 3084d6e

Browse files
committed
mimic connection address of test env
1 parent c92aab3 commit 3084d6e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/test/src/test-integration-workflows.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,9 +1668,12 @@ test('Workflow can be started eagerly with shared NativeConnection', async (t) =
16681668

16691669
test('Error thrown when requestEagerStart is used with regular Connection', async (t) => {
16701670
const { taskQueue } = helpers(t);
1671+
const address = process.env.TEMPORAL_SERVICE_ADDRESS || 'localhost:7233';
16711672

16721673
// Create a regular connection instead of native
1673-
const regularConnection = await Connection.connect();
1674+
const regularConnection = await Connection.connect({
1675+
address,
1676+
});
16741677
const client = new WorkflowClient({ connection: regularConnection });
16751678

16761679
try {

0 commit comments

Comments
 (0)