Skip to content

Commit

Permalink
Quick fix for a failing test - Another test is already using the same…
Browse files Browse the repository at this point in the history
… workflow and task, so depending on execution order it fails.
  • Loading branch information
jmigueprieto committed Nov 13, 2024
1 parent 1c701aa commit b84f4e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/task/__tests__/TaskManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe("TaskManager", () => {
const executor = new WorkflowExecutor(client);

const worker: ConductorWorker = {
taskDefName: "taskmanager-error-test",
taskDefName: "taskmanager-error-test2",
execute: async () => {
throw Error("This is a forced error");
},
Expand All @@ -71,7 +71,7 @@ describe("TaskManager", () => {
manager.startPolling();

await executor.startWorkflow({
name: "TaskManagerTestE",
name: "TaskManagerTestE2",
input: {},
version: 1,
});
Expand Down

0 comments on commit b84f4e8

Please sign in to comment.