Neymar-10-JR opened a new pull request, #7783:
URL: https://github.com/apache/shenyu/pull/7783

   Fixes #7700.
   
   When the last active scaling policy is disabled, executeScaling() previously
   left the dynamic monitoring task running. Cancel the task when no active
   policy remains.
   
   Add regression tests covering:
   - Disabling the last active dynamic policy and repeated cancellation.
   - An empty policy cache.
   - Registering monitoring for an active dynamic policy.
   - Switching from dynamic scaling to fixed scaling.
   
   Validation:
   - All four ScaleServiceTest cases passed.
   - Related scaling service and transaction tests passed.
   - The initial full build was interrupted by an UnknownHostException for
     shenyu.apache.org in HttpShenyuSdkClientTest#testShenyuHttpClient.
     That test passed on retry, and the remaining reactor build completed with:
     ./mvnw install -Dmaven.javadoc.skip=true -rf :shenyu-sdk-httpclient
   
   Make sure that:
   
   - [ ] You have read the contribution guidelines.
   - [x] You submit test cases (unit or integration tests) that back your 
changes.
   - [ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.


-- 
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]

Reply via email to