diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f600c983faac..6ba9126cf0f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,8 +29,8 @@ jobs: os_name: - linux_openresty test_dir: - - t/plugin/[a-k]*.t - - t/stream-plugin t/plugin/[l-z]*.t + - t/plugin/[a-k]*.t t/plugin/dubbo-proxy + - t/stream-plugin t/plugin/[l-z]*.t t/plugin/proxy-cache - t/admin t/cli t/config-center-yaml t/control t/core t/debug t/discovery t/error_page t/http3/admin t/misc - t/node t/pubsub t/router t/script t/secret t/stream-node t/utils t/wasm t/xds-library t/xrpc diff --git a/t/plugin/dubbo-proxy/route.t b/t/plugin/dubbo-proxy/route.t index d21b0629e0d3..c5fb13beffd9 100644 --- a/t/plugin/dubbo-proxy/route.t +++ b/t/plugin/dubbo-proxy/route.t @@ -81,7 +81,7 @@ run_tests(); __DATA__ -=== TEST 1: ignore route's dubbo configuration if dubbo is disable globally +=== TEST 1: route referencing a globally-disabled plugin is rejected --- disable_dubbo --- apisix_yaml routes: @@ -96,8 +96,11 @@ routes: nodes: "127.0.0.1:1980": 1 type: roundrobin +--- error_code: 404 --- response_body -hello world +{"error_msg":"404 Route Not Found"} +--- error_log +unknown plugin [dubbo-proxy]