Skip to content

Commit

Permalink
Update acceptance/tests/ingress-gateway/ingress_gateway_namespaces_te…
Browse files Browse the repository at this point in the history
…st.go

Co-authored-by: Nitya Dhanushkodi <nitya@hashicorp.com>
  • Loading branch information
jmurret and ndhanushkodi committed Mar 29, 2022
1 parent e27009d commit 530b7d2
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 @@ -160,7 +160,7 @@ func TestIngressGatewaySingleNamespace(t *testing.T) {
// the ingress gateway and the connect service are in different namespaces.
// These tests currently only test non-secure and secure without auto-encrypt installations
// because in the case of namespaces there isn't a significant distinction in code between auto-encrypt
// // and non-auto-encrypt secure installations, so testing just one is enough.
// and non-auto-encrypt secure installations, so testing just one is enough.
func TestIngressGatewayNamespaceMirroring(t *testing.T) {
cfg := suite.Config()
if !cfg.EnableEnterprise {
Expand Down
1 change: 0 additions & 1 deletion control-plane/subcommand/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ func ConsulLogin(client *api.Client, params LoginParams, log hclog.Logger) (stri
log.Info("Checking that the ACL token exists when reading it in the stale consistency mode")
// Use raft timeout and polling interval to determine the number of retries.
numTokenReadRetries := uint64(raftReplicationTimeout.Milliseconds() / tokenReadPollingInterval.Milliseconds())
var aclLoginToken *api.ACLToken
err = backoff.Retry(func() error {
_, _, err = client.ACL().TokenReadSelf(&api.QueryOptions{AllowStale: true, Token: token.SecretID})
if err != nil {
Expand Down

0 comments on commit 530b7d2

Please sign in to comment.