Skip to content

Commit f1152c0

Browse files
committed
cleanup
1 parent a6af72d commit f1152c0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

test/e2e-azuremanaged/orchestration.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { TaskHubGrpcWorker } from "../../src/worker/task-hub-grpc-worker";
2323

2424
// Read environment variables
2525
const endpoint = process.env.ENDPOINT || "localhost:8080";
26-
const _taskHub = process.env.TASKHUB || "default";
2726

2827
describe("Durable Task Scheduler (DTS) E2E Tests", () => {
2928
let taskHubClient: TaskHubGrpcClient;
@@ -169,9 +168,9 @@ describe("Durable Task Scheduler (DTS) E2E Tests", () => {
169168

170169
// Send events to the client immediately
171170
const id = await taskHubClient.scheduleNewOrchestration(orchestrator);
172-
taskHubClient.raiseOrchestrationEvent(id, "A", "a");
173-
taskHubClient.raiseOrchestrationEvent(id, "B", "b");
174-
taskHubClient.raiseOrchestrationEvent(id, "C", "c");
171+
await taskHubClient.raiseOrchestrationEvent(id, "A", "a");
172+
await taskHubClient.raiseOrchestrationEvent(id, "B", "b");
173+
await taskHubClient.raiseOrchestrationEvent(id, "C", "c");
175174
const state = await taskHubClient.waitForOrchestrationCompletion(id, undefined, 30);
176175

177176
expect(state).toBeDefined();

0 commit comments

Comments
 (0)