Skip to content
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

change: update resty-radixtree to version 1.9 . #1730

Merged
merged 2 commits into from
Jun 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rockspec/apisix-master-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies = {
"lua-resty-cookie = 0.1.0",
"lua-resty-session = 2.24",
"opentracing-openresty = 0.1",
"lua-resty-radixtree = 1.8",
"lua-resty-radixtree = 1.9",
"lua-protobuf = 0.3.1",
"lua-resty-openidc = 1.7.2-1",
"luafilesystem = 1.7.0-2",
Expand Down
8 changes: 4 additions & 4 deletions t/node/vars.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ __DATA__
ngx.HTTP_PUT,
[[{
"uri": "/hello",
"vars": [ ["arg_k", "v"] ],
"vars": [ ["arg_k", "==", "v"] ],
"upstream": {
"nodes": {
"127.0.0.1:1980": 1
Expand Down Expand Up @@ -100,7 +100,7 @@ hello world
ngx.HTTP_PUT,
[=[{
"uri": "/hello",
"vars": [["cookie_k", "v"]],
"vars": [["cookie_k", "==", "v"]],
"upstream": {
"nodes": {
"127.0.0.1:1980": 1
Expand Down Expand Up @@ -170,7 +170,7 @@ hello world
ngx.HTTP_PUT,
[=[{
"uri": "/hello",
"vars": [["http_k", "v"]],
"vars": [["http_k", "==", "v"]],
"upstream": {
"nodes": {
"127.0.0.1:1980": 1
Expand Down Expand Up @@ -240,7 +240,7 @@ hello world
ngx.HTTP_PUT,
[=[{
"uri": "/hello",
"vars": [["http_k", "header"], ["cookie_k", "cookie"], ["arg_k", "uri_arg"]],
"vars": [["http_k", "==", "header"], ["cookie_k", "==", "cookie"], ["arg_k", "==", "uri_arg"]],
"upstream": {
"nodes": {
"127.0.0.1:1980": 1
Expand Down
4 changes: 4 additions & 0 deletions t/plugin/authz-keycloak.t
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ done
[error]



=== TEST 2: full schema check
--- config
location /t {
Expand All @@ -74,6 +75,7 @@ done
[error]



=== TEST 3: token_endpoint missing
--- config
location /t {
Expand All @@ -96,6 +98,7 @@ done
[error]



=== TEST 4: add plugin with view course permissions
--- config
location /t {
Expand Down Expand Up @@ -209,6 +212,7 @@ true
[error]



=== TEST 6: invalid access token
--- config
location /t {
Expand Down
1 change: 0 additions & 1 deletion t/plugin/consumer-restriction.t
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ passed




=== TEST 10: verify unauthorized
--- request
GET /hello
Expand Down