Commit Graph

2 Commits

Author SHA1 Message Date
Piotr Kazmierczak
b22b7ab273 e2e: correction to assertions in system scheduler tests (#26875) 2025-10-02 21:10:46 +02:00
Piotr Kazmierczak
eaa0fe0e27 scheduler: always set the right deployment status for system jobs that require promotion (#26851)
In cases where system jobs had the same amount of canary allocations
deployed as there were eligible nodes, the scheduler would incorrectly
mark the deployment as complete, as if auto promotion was set. This edge
case uncovered a bug in the setDeploymentStatusAndUpdates method, and
since we round up canary nodes, it may not be such an edge case
afterall.

---------

Co-authored-by: Tim Gross <tgross@hashicorp.com>
2025-09-30 09:18:59 +02:00