Skip to content

Conversation

jrajahalme
Copy link
Member

Only use --curl-parallel on curl commands that are expected to succeed. When expecting failure and issuing parallel requests, curl will report failure if any of the parallel requests fail, thus possibly hiding unexpectedly succeeding requests.

Remove unused function CurlCommandParallelWithOutput.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Rename CurlCommand as CurlCommandWithOutput and remove the output
disabling options from it.

Implement CurlCommand by calling CurlCommandWithOutput with extra options
to disable output.

This also makes explicit "-4" option on CurlCommandWithOutput unnecessary
when the IPFamily is passed in as IPFamilyV4.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Only use `--curl-parallel` on curl commands that are expected to
succeed. When expecting failure and issuing parallel requests, curl will
report failure if any of the parallel requests fail, thus possibly hiding
unexpectedly succeeding requests.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme added release-note/misc This PR makes changes that have no direct user impact. cilium-cli This PR contains changes related with cilium-cli labels Feb 21, 2025
@jrajahalme jrajahalme requested review from a team as code owners February 21, 2025 10:14
@github-actions github-actions bot added the cilium-cli-exclusive This PR only impacts cilium-cli binary label Feb 21, 2025
@jrajahalme
Copy link
Member Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 25, 2025
@tklauser tklauser added this pull request to the merge queue Feb 25, 2025
Merged via the queue into cilium:main with commit b5f665a Feb 25, 2025
93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants