Aias00 opened a new pull request, #6376:
URL: https://github.com/apache/shenyu/pull/6376
## Summary
- Stabilize `SentinelPluginTest` by checking one deterministic allowed
response before asserting restricted/fallback behavior from a concurrent batch.
- Avoid relying on exactly two concurrent requests where both can pass
inside Sentinel's timing window.
## Root Cause
GitHub Actions job `80239368085` failed because `SentinelPluginTest.test`
sent two concurrent requests and both returned `{"code":200,"msg":"pass"}`, so
the expected restricted message was absent.
## Test Plan
- `./mvnw -f ./shenyu-integrated-test/pom.xml -pl
shenyu-integrated-test-http -am -Pit -DskipTests test-compile`
- `./mvnw -pl shenyu-plugin/shenyu-plugin-request
-Dtest=org.apache.shenyu.plugin.request.RequestPluginTest test`
- `git diff --check`
## Not Tested
- Full `shenyu-integrated-test-http` Docker Compose integration run locally.
--
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]