shreemaan-abhishek opened a new pull request, #13158:
URL: https://github.com/apache/apisix/pull/13158

   ## Summary
   Fixes several flaky test cases that cause intermittent CI failures:
   
   - **request-id.t**: Fix race condition in uniqueness tests — `ngx.say()` was 
called from spawned threads (unsafe), replaced with a shared flag checked after 
all threads complete
   - **upstream-domain.t**: Replace brittle 3-request exact match with 
statistical validation over 18 requests, tolerating natural load-balancing 
variance
   - **config_etcd.t**: Use regex match instead of exact line count for etcd 
watch timeout messages
   - **sls-logger.t**: Add sleep before assertion to allow async plugin 
metadata sync
   - **xrpc/redis.t**: Relax timing tolerance from 60ms to 55ms for delay check
   
   ## Test plan
   - [x] `t/plugin/request-id.t` — all 48 tests pass
   - [x] Changes are minimal and targeted at known flaky patterns
   - [x] No functional behavior changes, only test reliability improvements


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