Skip to content

Commit b39f73f

Browse files
committed
[CONSUL-494] Review case-cfg-resolver-svc-failover (#68)
1 parent 80bfa8d commit b39f73f

File tree

1 file changed

+3
-3
lines changed
  • test/integration/connect/envoy/case-cfg-resolver-svc-failover

1 file changed

+3
-3
lines changed

test/integration/connect/envoy/case-cfg-resolver-svc-failover/verify.bats

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ load helpers
5353
# Note: when failover is configured the cluster is named for the original
5454
# service not any destination related to failover.
5555
@test "s1 upstream should have healthy endpoints for s2 and s3 together" {
56-
assert_upstream_has_endpoints_in_status 127.0.0.1:19000 failover-target~s2.default.primary HEALTHY 1
56+
assert_upstream_has_endpoints_in_status 127.0.0.1:19000 s2.default.primary HEALTHY 2
5757
}
5858

5959
@test "s1 upstream should be able to connect to s2 via upstream s2 to start" {
@@ -65,8 +65,8 @@ load helpers
6565
}
6666

6767
@test "s1 upstream should have healthy endpoints for s3-v1 and unhealthy endpoints for s2" {
68-
assert_upstream_has_endpoints_in_status 127.0.0.1:19000 failover-target~v1.s3.default.primary HEALTHY 1
69-
assert_upstream_has_endpoints_in_status 127.0.0.1:19000 failover-target~s2.default.primary UNHEALTHY 1
68+
assert_upstream_has_endpoints_in_status 127.0.0.1:19000 s2.default.primary HEALTHY 1
69+
assert_upstream_has_endpoints_in_status 127.0.0.1:19000 s2.default.primary UNHEALTHY 1
7070
}
7171

7272
@test "s1 upstream should be able to connect to s3-v1 now" {

0 commit comments

Comments
 (0)