jihun4452 commented on issue #7583:
URL:
https://github.com/apache/incubator-seata/issues/7583#issuecomment-3186864071
Update: I ran `ConsulConfigurationTest#testInitSeataConfig` locally and it
consistently passes (30+ runs).
**My env**
- macOS 15.6 (Apple Silicon), JDK 17
- Consul 1.15 in dev mode (Docker)
```bash
docker run --rm -d --name consul -p 8500:8500 -p 8600:8600/udp \
consul:1.15 agent -dev -client=0.0.0.0 -ui
export CONSUL_HTTP_ADDR=http://127.0.0.1:8500
```
**Test**
```bash
./mvnw -pl config/seata-config-consul -am \
-Dtest=org.apache.seata.config.consul.ConsulConfigurationTest#testInitSeataConfig
\
-Dsurefire.printSummary=true -Dsurefire.useFile=false test
```
Given the CI failure (`expected <val1> but was <null>`), this seems
timing/env dependent.
I'd like to submit a small **deflake** patch (short await/retry after
put→get).
If this sounds good, please assign this issue to me and I’ll open a PR.
Thanks!
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]