-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will think about the condition, simple wait until gss count == 2
did not work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! 👍
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.