mirror of https://github.com/linkerd/linkerd2.git
Skip SMI metrics integration test on arm (#5086)
The SMI metrics image does not yet support arm. Thus we must skip the SMI metrics integration test when using arm. Signed-off-by: Alex Leong <alex@buoyant.io>
This commit is contained in:
parent
fbc405d5b4
commit
9553fbcd75
|
@ -29,6 +29,11 @@ func TestMain(m *testing.M) {
|
||||||
func TestSMIMetrics(t *testing.T) {
|
func TestSMIMetrics(t *testing.T) {
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
|
if os.Getenv("RUN_ARM_TEST") != "" {
|
||||||
|
t.Skip("Skipped. SMI-metrics image does not support ARM yet")
|
||||||
|
}
|
||||||
|
|
||||||
// Install smi-metrics using Helm chart
|
// Install smi-metrics using Helm chart
|
||||||
testNamespace := TestHelper.GetTestNamespace("smi-metrics-test")
|
testNamespace := TestHelper.GetTestNamespace("smi-metrics-test")
|
||||||
err := TestHelper.CreateDataPlaneNamespaceIfNotExists(ctx, testNamespace, nil)
|
err := TestHelper.CreateDataPlaneNamespaceIfNotExists(ctx, testNamespace, nil)
|
||||||
|
|
Loading…
Reference in New Issue