From c83c2043517b825baf4870dccd2ad068bee2a076 Mon Sep 17 00:00:00 2001 From: Praneeth Bajjuri Date: Tue, 2 Jan 2024 12:15:59 -0600 Subject: [PATCH] Skip Web Assembly IBM P/Z (#645) Co-authored-by: Praneeth Bajjuri --- .../tasks/extensions/threescale_wasm_plugin_test.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go b/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go index 2b3839bd..71dddce0 100644 --- a/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go +++ b/pkg/tests/tasks/extensions/threescale_wasm_plugin_test.go @@ -28,16 +28,17 @@ const ( func TestThreeScaleWasmPlugin(t *testing.T) { test.NewTest(t).Groups(test.Full).Run(func(t test.TestHelper) { + + if env.GetArch() == "z" || env.GetArch() == "p" { + t.Skip("Web Assembly is not supported for IBM Z&P") + } + t.Cleanup(func() { oc.RecreateNamespace(t, ns.Foo) oc.RecreateNamespace(t, meshNamespace) oc.DeleteNamespace(t, threeScaleNs) }) - if env.GetArch() == "z" || env.GetArch() == "p" { - t.Skip("Web Assembly is not supported for IBM Z&P") - } - t.LogStep("Deploy SMCP") oc.ApplyTemplate(t, meshNamespace, meshTmpl, map[string]string{ "Name": smcpName,