Commit e45602b
authored
test(control-plane): separate orchestration tests from EC2 provider tests (github-aws-runners#5246)
## Description
- Move generic scale-up and scale-down orchestration tests from the EC2
provider package into the control-plane package.
- Test orchestration through the runner-provider interfaces and
registry.
- Keep EC2 resource operations and dynamic configuration coverage beside
the EC2 provider.
- Remove direct EC2 provider test imports and mocks of control-plane
modules.
Production behavior is unchanged.
## Test Plan
- `cd lambdas && yarn test` (all 8 projects passed)
- Focused control-plane suites: 226 tests passed
- Focused EC2 provider suites: 158 tests passed
- ESLint and Prettier checks passed for control-plane and
runner-providers
- Exact test-title inventory: 276 before and after, with no additions or
removals
- `git diff --check`
## Related Issues
Closes github-aws-runners#5236
Follow-up to github-aws-runners#52341 parent dc246ac commit e45602b
4 files changed
Lines changed: 3241 additions & 3301 deletions
File tree
- lambdas
- functions/control-plane/src/scale-runners
- libs/runner-providers/aws/ec2/src/control-plane
0 commit comments