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:
Alex Leong 2020-10-14 14:10:33 -07:00 committed by GitHub
parent fbc405d5b4
commit 9553fbcd75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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)