diff --git a/test/e2e/autoscale_test.go b/test/e2e/autoscale_test.go index 86c3d133e52a..bf4d985401ef 100644 --- a/test/e2e/autoscale_test.go +++ b/test/e2e/autoscale_test.go @@ -173,9 +173,11 @@ func TestTargetBurstCapacity(t *testing.T) { if err != nil { t.Fatal("Fail to get ConfigMap config-network:", err) } - if !strings.EqualFold(cm.Data[netcfg.DataplaneTrustKey], string(netcfg.TrustDisabled)) { - // TODO: Remove this when https://github.com/knative/serving/issues/12797 was done. - t.Skip("Skipping TestTargetBurstCapacity as activator-ca is specified. See issue/12797.") + + // TODO: Remove this when "activator always stay in path" is eliminated. + dataplaneTrustMode := cm.Data[netcfg.DataplaneTrustKey] + if (dataplaneTrustMode != "" && !strings.EqualFold(dataplaneTrustMode, string(netcfg.TrustDisabled))) || strings.EqualFold(cm.Data[netcfg.InternalEncryptionKey], "true") { + t.Skip("Skipping TestTargetBurstCapacity as activator always stay in path.") } cfg, err := autoscalerCM(ctx.clients)