nic-6443 opened a new pull request, #13613:
URL: https://github.com/apache/apisix/pull/13613
### Description
The plugin test shards use globs that only match **top-level** `.t` files:
```yaml
- t/plugin/[a-k]*.t
- t/stream-plugin t/plugin/[l-z]*.t
```
A glob like `t/plugin/[l-z]*.t` doesn't match a *directory*
(`t/plugin/proxy-cache`), and `*` doesn't cross `/`, so plugin tests that live
in subdirectories are never handed to `prove` and **never run in CI**. The
affected tests:
```
t/plugin/proxy-cache/disk.t
t/plugin/proxy-cache/memory.t
t/plugin/dubbo-proxy/route.t
t/plugin/dubbo-proxy/upstream.t
```
This looks unintentional — `build.yml` already starts the Dubbo backend
("Start Dubbo Backend"), so the `dubbo-proxy` tests were prepared to run, but
the glob never reached them.
This adds the two directories to the matrix so `prove -r` recurses them.
`proxy-cache` passes locally; `dubbo-proxy` relies on the Dubbo backend that CI
already sets up.
`t/plugin/ext-plugin/` is **left out on purpose**: several of those tests
need a real external plugin runner that CI doesn't currently provide (the
in-repo mock only covers the spawn/sanity cases), so enabling them is separate
work.
### Checklist
- [x] I have explained the need for this PR and the problem it solves
- [x] I have explained the changes or the new features added to this PR
- [ ] I have added tests corresponding to this change — N/A, this enables
existing tests
- [ ] I have updated the documentation to reflect this change — N/A, CI-only
- [x] I have verified that this change is backward compatible
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]