Skip to content

Commit

Permalink
Implemented locality weighted load balancing | Added metric test
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Feb 1, 2024
1 parent 93bf218 commit e397980
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class EnvoyContainer(
withEnv(ENVOY_UID_ENV_NAME, "0")
withExposedPorts(EGRESS_LISTENER_CONTAINER_PORT, INGRESS_LISTENER_CONTAINER_PORT, ADMIN_PORT)
withPrivilegedMode(true)
val zoneFlag = if(zone != "") "--service-zone $zone" else ""
val zoneFlag = if (zone != "") "--service-zone $zone" else ""
withCommand(
"/bin/sh", "/usr/local/bin/launch_envoy.sh",
Integer.toString(envoyControl1XdsPort),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,4 @@ class WeightedClustersRoutingTest {
.verifyCallsCountCloseTo(upstreamServiceDC1, 75)
.verifyCallsCountCloseTo(upstreamServiceDC2, 25)
}

}

0 comments on commit e397980

Please sign in to comment.