mirror of https://github.com/hashicorp/consul
Fix test description
parent
06fc59c26f
commit
cd4e6e9677
|
@ -79,9 +79,9 @@ func (e *HTTPRouteConfigEntry) Normalize() error {
|
|||
for i, parent := range e.Parents {
|
||||
if parent.Kind == "" {
|
||||
parent.Kind = APIGateway
|
||||
parent.EnterpriseMeta.Normalize()
|
||||
e.Parents[i] = parent
|
||||
}
|
||||
parent.EnterpriseMeta.Normalize()
|
||||
e.Parents[i] = parent
|
||||
}
|
||||
|
||||
for i, rule := range e.Rules {
|
||||
|
@ -505,9 +505,9 @@ func (e *TCPRouteConfigEntry) Normalize() error {
|
|||
for i, parent := range e.Parents {
|
||||
if parent.Kind == "" {
|
||||
parent.Kind = APIGateway
|
||||
parent.EnterpriseMeta.Normalize()
|
||||
e.Parents[i] = parent
|
||||
}
|
||||
parent.EnterpriseMeta.Normalize()
|
||||
e.Parents[i] = parent
|
||||
}
|
||||
|
||||
for i, service := range e.Services {
|
||||
|
|
|
@ -6,7 +6,7 @@ load helpers
|
|||
retry_default curl -f -s localhost:20000/stats -o /dev/null
|
||||
}
|
||||
|
||||
@test "api gateway should have be accepted and not conflicted" {
|
||||
@test "api gateway should be accepted and not conflicted" {
|
||||
assert_config_entry_status Accepted True Accepted primary api-gateway api-gateway
|
||||
assert_config_entry_status Conflicted False NoConflict primary api-gateway api-gateway
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue