Fix Down Scale on RollingUpdate#802
Conversation
|
Build Failed 😱 Build Id: 1eb92412-a018-4b9e-91eb-836427882de1 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Is that flakiness, or a result of the change you made? |
|
@markmandel |
|
Lemme know if you want me to hit retry 👍 |
ef999b9 to
b865482
Compare
|
Build Succeeded 👏 Build Id: f6469c5d-876e-41aa-9883-caab3b92ea94 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
test/e2e/fleet_test.go
Outdated
| fltCopy.Spec.Template.Spec.Ports[0].ContainerPort++ | ||
| flt, err = alpha1.Fleets(defaultNs).Update(fltCopy) | ||
| assert.Nil(t, err) | ||
| time.Sleep(5 * time.Second) |
There was a problem hiding this comment.
I have to ask 😄 - why do we need this Sleep? Maybe I can help you craft some kind of condition check here?
There was a problem hiding this comment.
I will think about the condition, simple wait until gss count == 2 did not work.
There was a problem hiding this comment.
Switched from timer to wait.PollImmediate(). Test is failing on previous version of Fleets controller and reproduces the issue.
Return valid target number of replicas with E2E test.
b865482 to
f3d8bf8
Compare
|
Build Succeeded 👏 Build Id: ea029181-2534-4d61-850d-45c616976274 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
|
Build Succeeded 👏 Build Id: fb7dac65-418f-4a01-a55e-cf8fbfd61985 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
|
Nice! |
rollingUpdateActive now returns valid target number of replicas with E2E test.
Fixing #800 Fleet does not scaled down after allocate and edit.