Fix initial Eureka instance replication delay - #4588
Conversation
dea8624 to
ee598b5
Compare
|
Can you look into the failing PR build? |
ee598b5 to
c366a19
Compare
|
I looked into the failing build. The failure is occurring in the spring-cloud-netflix-eureka-client-tls-tests module, specifically during EurekaClientSuite setup. The test fails because the Eureka client cannot connect to the dynamically started local server (Connection refused). The changes in this PR are limited to EurekaServiceRegistry and its tests, and the targeted EurekaServiceRegistryTests pass locally. I also reproduced the relevant upstream tests successfully on their own. I’m continuing to investigate why the TLS test server is unavailable during the full CI build. |
|
You can try and merge in main to your branch, but the CI build is passing fine |
|
If I build your branch locally the same tests fail for me. If I revert your change the tests pass, so it is something in your changes that broke the tests |
ca8e944 to
06bdc68
Compare
Signed-off-by: 98001yash <yashchauhan.gaya@gmail.com>
06bdc68 to
b0dbcd5
Compare
…tial-replication-delay
Overview
Fixes an issue where the initial Eureka instance status update can trigger an
on-demand registration before the configured initial instance info replication
delay has elapsed.
Changes
registration.
Eureka client initialization.
Testing
./mvnw.cmd -pl spring-cloud-netflix-eureka-client -Dtest=EurekaServiceRegistryTests test./mvnw.cmd -pl spring-cloud-netflix-eureka-client testResults:
Related Issue
Fixes #4109