Skip to content

Commit

Permalink
change: update resty-radixtree to version 1.9 . (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
membphis authored Jun 19, 2020
1 parent b0a1580 commit e38d0a9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
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

0 comments on commit e38d0a9

Please sign in to comment.