Skip to content

Commit

Permalink
Update testssl_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
yxun committed Feb 1, 2024
1 parent bc51412 commit a6a6abd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/tests/ossm/testssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ package ossm

import (
_ "embed"
"fmt"
"testing"

"github.com/maistra/maistra-test-tool/pkg/app"
"github.com/maistra/maistra-test-tool/pkg/util/check/assert"
"github.com/maistra/maistra-test-tool/pkg/util/env"
"github.com/maistra/maistra-test-tool/pkg/util/istio"
"github.com/maistra/maistra-test-tool/pkg/util/oc"
"github.com/maistra/maistra-test-tool/pkg/util/pod"
"github.com/maistra/maistra-test-tool/pkg/util/retry"
Expand Down Expand Up @@ -72,7 +74,7 @@ spec:
t.LogStep("Check testssl.sh results")
command := "./testssl/testssl.sh -P -6 productpage:9080 || true"
if env.GetArch() == "arm" {
command = "/home/testssl/testssl.sh -P -6 istio-ingressgateway-istio-system.apps.rsarm.servicemesh.rhqeaws.com/productpage || true"
command = fmt.Sprintf("testssl.sh -P -6 %s/productpage || true", istio.GetIngressGatewayHost(t, meshNamespace))
}
retry.UntilSuccessWithOptions(t, retry.Options().MaxAttempts(10), func(t TestHelper) {
oc.Exec(t,
Expand Down Expand Up @@ -114,4 +116,5 @@ spec:
containers:
- name: testssl
image: {{ image "testssl" }}
command: ["tail", "-f", "/dev/null"]
`

0 comments on commit a6a6abd

Please sign in to comment.