Repository navigation
Conversation
dfandrich
reviewed
Oct 19, 2026
| `!feat:<feature>`, like `!feat:proxy`, to disable tests which depend on that | ||
| feature. | ||
|
|
||
| With special keywords `!feat:with-server` and `!fear:without-server` you can |
vszakats
added a commit
that referenced
this pull request
Oct 19, 2026
Reported-by: Dan Fandrich Bug: #23492 (comment) Follow-up to d1ffc4d #23492
2 tasks done
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Oct 21, 2026
…om it Before this patch `--retry=` applied to all tests. Certain tests though, such as standalone ones or unit tests, are meant to be deterministic: a retry should not (and does not) work as a remedy. A retry mostly likely just fails repeatedly, taking away retry slots from tests may actually benefit from it. It also makes the log busy with useless duplicate test results. Refine the option to only apply to tests that use a test server, are tagged `timing-dependent`, `flaky` or `may-retry`. Follow-up to d1ffc4d curl#23492 Follow-up to 3f297f1 curl#17091
vszakats
added a commit
that referenced
this pull request
Oct 21, 2026
Before this patch `--retry=` applied to all tests. Certain tests though,. such as standalone ones or unit tests, are meant to be deterministic: a retry should not work as a remedy. A retry most likely fails repeatedly, taking time and retry slots away from tests may actually benefit from it. It also makes the log busy with useless duplicate test results. Refine the option to only apply to tests that use a test server, or has any of the features `timing-dependent`, `flaky`, `may-retry` or `may-retry-on-valgrind`. The latter allows retries in valgrind runs only. Caveat: This update may uncover tests that were not supposed to be flaky, but this was masked by retries. Also: - test3300: add feature `may-retry-on-valgrind`. It's documented and seen flaky failing there. https://github.com/curl/curl/actions/runs/39312273981/job/118264659474?pr=23496#step:45:1964 https://github.com/curl/curl/actions/runs/39248893874/job/118047513598 Follow-up to d1ffc4d #23492 Follow-up to 3f297f1 #17091 Closes #23496
vszakats
added a commit
to vszakats/curl
that referenced
this pull request
Oct 21, 2026
Make them 'keywords' instead of 'features'. Follow-up to 8887d14 curl#23496 Follow-up to d1ffc4d curl#23492
vszakats
added a commit
that referenced
this pull request
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatically tag each test with "needs-servers"/"does-not-need-servers"
tags based on whether their
serverssection has items. Then makeruntests advertise supporting both, to continue running them all by
default. This in turn allows to manually exclude tests based on this
property, e.g. to run only standalone tests that do not need a server,
by passing
!feat:with-server.Also:
Taking 20-40 seconds (up from ~15) per job.
Existing rule applies: if too annoying, slows down cycles, I tune it
down. The option remains useful regardless, I think.
getpart().It offsets the new
getpart()call that was necessary to implementthis feature.
Follow-up to 18c48e0 #23306
Takes more time of course, perhaps still fine.
--retry=option towith-servertests. Forstandalone tests, a retry should not work as a remedy.
It's also mostly pointless, reduces performance and takes
away retry slots from tests that may need it.
make the logic: retry if
with-serverorflakyortiming-dependent.Perhaps in a separate PR. → runtests: apply
--retry=only to tests that may benefit from it #23496aha, relies on the envs DNS server. So that's a thing.