Skip to content

Commit

Permalink
simplify check to use new internal encryption flags
Browse files Browse the repository at this point in the history
  • Loading branch information
KauzClay committed Oct 2, 2023
1 parent 9e16097 commit f5ed52f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/autoscale_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ func TestTargetBurstCapacity(t *testing.T) {
}

// TODO: Remove this when "activator always stay in path" is eliminated.
dataplaneTrustMode := cm.Data[netcfg.SystemInternalTLSKey]
if (dataplaneTrustMode != "" && !strings.EqualFold(dataplaneTrustMode, string(netcfg.EncryptionDisabled))) || strings.EqualFold(cm.Data[netcfg.InternalEncryptionKey], "true") {
if systemInternalTLS, ok := cm.Data[netcfg.SystemInternalTLSKey]; ok && !strings.EqualFold(systemInternalTLS, string(netcfg.EncryptionDisabled)) {
t.Skip("Skipping TestTargetBurstCapacity as activator always stay in path.")
}

Expand Down

0 comments on commit f5ed52f

Please sign in to comment.