mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
e2e: fix TestScaling/TestScaling_System (#26804)
This commit is contained in:
committed by
GitHub
parent
8e553ad95b
commit
f767db5639
@@ -187,6 +187,9 @@ func testScalingSystemJob(t *testing.T) {
|
||||
must.Eq(t, a.ID, initialAllocs[i].ID)
|
||||
}
|
||||
|
||||
// Wait for the deployment to finish
|
||||
must.NoError(t, e2eutil.WaitForLastDeploymentStatus(jobID, defaultNS, "successful", nil))
|
||||
|
||||
// Scale down to 0
|
||||
testMeta = map[string]any{"scaling-e2e-test": "value"}
|
||||
scaleResp, _, err = nomad.Jobs().Scale(jobID, "system_job_group", pointer.Of(0),
|
||||
|
||||
Reference in New Issue
Block a user