-
Notifications
You must be signed in to change notification settings - Fork 694
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 uwsgi_regexp_match() with pcre2 and corresponding unittest #2636
Conversation
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.
The rename is a bit gratuitous but no big deal 😅 Thanks!
Sorry for not having explained that. When tackling this, I was confused with the unit tests being in a |
pcre2_match() with no match_data structure does not work
also rename unittests as such, making the distinction with tests and checks.
175f50c
to
f51acb5
Compare
t/runner
Outdated
|
||
class StaticTest(BaseTest.UwsgiServerTest): | ||
|
||
ARGS = ['--plugin', 'python3', # provide a request plugin if no embedded request plugin |
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.
'--plugin', 'python3'
should not be required and loading the python plugin is failing because it's embeded
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.
It would be great of the integration test work with other build configurations, such as builds with no embedded plugins. That's the workaround I've found, otherwise uwsgi
complains of no loaded request plugin. Do you have a better suggestion? Or this can be conditional.
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.
Other than the small nit LGTM. If you have black or ruff at hand if you can run it over t/runner it would be nice
Fixes #2634