fix: Ensure the processclient have a correct timeout / fix flacky test#4402
Conversation
|
I wasn't able to reproduce it locally, but been doing quite a lot of test with it, I'm pretty sure this fix the issue 😄 |
|
Build Succeeded 🥳 Build Id: 37c0f42c-0af3-4c75-9ccb-497595df3c8c 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: |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 17086c70-bdb7-4d78-a401-2bf04f3b7de8 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: |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 66898655-6679-4b7d-bd7f-e14b9a034813 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: |
|
/gcbrun |
|
Build Failed 😭 Build Id: 5f78cbd2-0d82-4691-a9bb-a98ac0679f23 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
TestControllerGameServersNodeState already an issue open for that /gcbrun |
|
Build Succeeded 🥳 Build Id: e7fd9860-9273-4be6-b52d-5e80e9ad1cb1 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: 1dcbe975-fde4-4960-b3db-e5a4b9638759 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: e8ab54fe-2c8d-45ef-ae22-8e8093578e9c 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: |
markmandel
left a comment
There was a problem hiding this comment.
Always appreciate an Eventually over a sleep! 👍🏻
|
Build Succeeded 🥳 Build Id: 155f7c35-6a9d-4f7e-819f-c13a124192f4 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: |
agones-dev#4402) * fix: Ensure the processclient have a correct timeout / fix flacky test * fix: use assert.Eventually instead of manual ticker
What type of PR is this?
/kind bug
What this PR does / Why we need it:
Fix flacky test around processor client and a 50ms allocation timeout
Which issue(s) this PR fixes:
Closes #4400
Special notes for your reviewer:
I've been running this test 500 time with parallel and with many scenarios, but sadly I had the same result with the fix and without it, wasn't able to reproduce it, but I'm pretty confident it's coming from that