-
Notifications
You must be signed in to change notification settings - Fork 9
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 interaction between interface timeout and RC POLL INTERVAL + Partial revert #2805 #2848
Conversation
Unfortunatly, partial revert is not possible, as We need to understand why the interact, and fix that. And if it's legit, choose values based on what why gain, to get the best compromise between optimization and being as close as possible from the real conditions. |
This is out of scope for the values themselves. If there is a correlation, it already existed before.
We know what we gain as the timeout time is absolute, so it goes from 100 seconds to 10 seconds. This is significant time that is otherwise wasted for no reason. The gain is literally the timeout difference.
This is real conditions, the requests are just made faster because we don't risk overloading the backend or the agent in tests. I really don't see any actual compelling argument for reverting this. It will only slow down running the tests for theoretical academic reasons with no basis in the actual testing. The pragmatic approach is to make this fast if we can. |
A flakyness oberved here https://github.com/DataDog/system-tests-dashboard/actions/runs/10260556706/job/28404990643#step:20:125 I don't remember seeing this issue previously. But can't affirm it's caused by #2805, but it's definitly on the short list. |
Local tests on |
CI is ok (failures are not related) |
The bug fixed in this PR caused a race condition that was very unlikely to happen with the previous values of Though, if there is any doubt on issue related to remote config, I recommend to merge this PR before anything else, to remove a source of doubt. |
Wait for #2894 for java failures |
Motivation
Being as close as possible from real conditions is a golden rules in functional testing.
The time gained by the change on
DD_REMOTE_CONFIG_POLL_INTERVAL_SECONDS
in #2805 wasn't computed.Changes
DD_REMOTE_CONFIG_POLL_INTERVAL_SECONDS
.Workflow
codeowners
file quickly.🚀 Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
[<language>]
, double-check that only<language>
is impacted by the changebuild-XXX-image
label is present