juicewcode commented on PR #6966: URL: https://github.com/apache/shenyu/pull/6966#issuecomment-5550834653
After merging the main branch, the ingress deletion test intermittently failed because the process-wide singleton caches retained data from previous test cases. This caused multiple selectors to be deleted and triggered Mockito's TooManyActualInvocations error. This change clears IngressCache, IngressSelectorCache, and ServiceIngressCache before each test, ensuring test isolation and preventing stale selector data from affecting verification.ocations. -- 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]
