Skip to content

Commit

Permalink
stop job after test
Browse files Browse the repository at this point in the history
  • Loading branch information
busma13 committed Jun 3, 2024
1 parent c46f795 commit cdab1a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions e2e/test/cases/cluster/scale-workers-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ describe('scale execution', () => {
job = await terasliceHarness.submitAndStart(jobSpec);
});

afterAll(async () => {
await job.stop();
});

it(`should start with ${DEFAULT_WORKERS} workers`, async () => {
let runningWorkers: WorkerNode[] = [];
while (runningWorkers.length === 0) {
Expand Down

0 comments on commit cdab1a5

Please sign in to comment.