Re-enables tests due to boot test env ordering issue
Fixes gh-4048
This commit is contained in:
@@ -27,7 +27,6 @@ import com.netflix.eureka.EurekaServerConfig;
|
||||
import com.netflix.eureka.cluster.PeerEurekaNodes;
|
||||
import com.netflix.eureka.registry.PeerAwareInstanceRegistry;
|
||||
import com.netflix.eureka.resources.ServerCodecs;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -89,7 +88,6 @@ class RefreshablePeerEurekaNodesTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("boot env ordering see https://github.com/spring-cloud/spring-cloud-netflix/issues/4048")
|
||||
void updatedWhenDnsIsFalse() {
|
||||
changeProperty("eureka.client.use-dns-for-fetching-service-urls=false",
|
||||
"eureka.client.region=unavailable-region", // to force defaultZone
|
||||
@@ -119,7 +117,6 @@ class RefreshablePeerEurekaNodesTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("boot env ordering see https://github.com/spring-cloud/spring-cloud-netflix/issues/4048")
|
||||
void updatedWhenAvailabilityZoneChanged() {
|
||||
changeProperty("eureka.client.use-dns-for-fetching-service-urls=false", "eureka.client.region=region4",
|
||||
"eureka.client.availability-zones.region3=region3-zone",
|
||||
@@ -175,7 +172,6 @@ class RefreshablePeerEurekaNodesTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("boot env ordering see https://github.com/spring-cloud/spring-cloud-netflix/issues/4048")
|
||||
void serviceUrlsCountAsSoonAsRefreshed() {
|
||||
changeProperty(
|
||||
"eureka.client.service-url.defaultZone=https://defaul-host3:8678/eureka/,http://defaul-host4:8678/eureka/");
|
||||
@@ -185,7 +181,6 @@ class RefreshablePeerEurekaNodesTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("boot env ordering see https://github.com/spring-cloud/spring-cloud-netflix/issues/4048")
|
||||
void serviceUrlsValueAsSoonAsRefreshed() {
|
||||
changeProperty("eureka.client.service-url.defaultZone=https://defaul-host4:8678/eureka/");
|
||||
forceUpdate();
|
||||
@@ -194,7 +189,6 @@ class RefreshablePeerEurekaNodesTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled("boot env ordering see https://github.com/spring-cloud/spring-cloud-netflix/issues/4048")
|
||||
void dashboardUpdatedAsSoonAsRefreshed() {
|
||||
changeProperty("eureka.client.service-url.defaultZone=https://defaul-host5:8678/eureka/");
|
||||
forceUpdate();
|
||||
|
||||
Reference in New Issue
Block a user