-
Notifications
You must be signed in to change notification settings - Fork 819
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
Make WaitForFleetCondition take up to 5 minutes #377
Conversation
Build Failed 😱 Build Id: ff7edc18-51cb-4080-8a27-706f8d5da25e Build Logs
|
Should fix flakiness in autoscaler tests.
56adbc7
to
3eadf34
Compare
Build Succeeded 👏 Build Id: dc36aa67-a2b5-4f0d-b70f-9b0a776ab25a The following development artifacts have been built, and will exist for the next 30 days:
(experimental) To install this version:
|
@victor-prodan 🤞 this solves the flakiness 👍 |
@@ -119,7 +118,7 @@ func (f *Framework) WaitForGameServerState(gs *v1alpha1.GameServer, state v1alph | |||
|
|||
// WaitForFleetCondition waits for the Fleet to be in a specific condition | |||
func (f *Framework) WaitForFleetCondition(flt *v1alpha1.Fleet, condition func(fleet *v1alpha1.Fleet) bool) error { | |||
err := wait.PollImmediate(2*time.Second, 120*time.Second, func() (bool, error) { | |||
err := wait.PollImmediate(2*time.Second, 5*time.Minute, func() (bool, error) { |
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.
Is there a global e2e test timeout as well? If yes, maybe it should be increased too?
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.
So we're not hitting this right now, so if we start too - we can increase it. Right now it's 10 minutes, and we're not even close.
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.
LGTM
Should fix flakiness in autoscaler tests.