Skip to content

Tests: predicate locations. - #102

Open
jimf5 wants to merge 1 commit into
nginx:masterfrom
jimf5:dev/predicate-locations
Open

Tests: predicate locations.#102
jimf5 wants to merge 1 commit into
nginx:masterfrom
jimf5:dev/predicate-locations

Conversation

@jimf5

@jimf5 jimf5 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Added tests for predicate locations introduced in this PR: nginx/nginx#1633

Checklist

Before creating a PR, run through this checklist and mark each as complete:

Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment on lines +146 to +148
like(http_get('/some/path/?pred2=1'), qr!proxied:/some/path/!,
'proxy_pass in predicate');
like(http_get('/t?pred3=1'), qr/predfile/, 'root in predicate location');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the tests are about choosing location configuration, these two looks irrelevant

Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
Comment thread predicate_locations.t Outdated
@jimf5
jimf5 force-pushed the dev/predicate-locations branch 2 times, most recently from 0d045f6 to ffbdd6b Compare August 19, 2026 09:32
@jimf5
jimf5 force-pushed the dev/predicate-locations branch 2 times, most recently from 3effe16 to 131582d Compare August 19, 2026 20:42
Co-authored-by: Sergey Kandaurov <pluknet@nginx.com>
@jimf5
jimf5 force-pushed the dev/predicate-locations branch from 131582d to 29da160 Compare August 20, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

3 participants