Skip to content

Commit 3c1cfbd

Browse files
stuartp44Copilot
andauthored
Update lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts
Co-authored-by: Copilot <[email protected]>
1 parent 387eb99 commit 3c1cfbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ describe('Scale down runners', () => {
516516
await expect(scaleDown()).resolves.not.toThrow();
517517

518518
// Should not terminate since the error was not a 404
519-
expect(mockTerminateRunners).not.toHaveBeenCalledWith(orphanRunner.instanceId);
519+
expect(terminateRunner).not.toHaveBeenCalledWith(orphanRunner.instanceId);
520520
});
521521

522522
it(`Should ignore errors when termination orphan fails.`, async () => {

0 commit comments

Comments
 (0)