Add internal autoscaler executor provider unit tests.
What does this MR do?
Adds unit tests for the executor/internal/autoscaler/provider.go
file.
This test also fixes a bug replacing ||
with &&
which was surfaced by the new tests.
Why was this MR needed?
Unit tests!
What's the best way to test this MR?
go test