diff --git a/tests/cnf/core/network/dpdk/dpdk_suite_test.go b/tests/cnf/core/network/dpdk/dpdk_suite_test.go index aec03f858..a82e42411 100644 --- a/tests/cnf/core/network/dpdk/dpdk_suite_test.go +++ b/tests/cnf/core/network/dpdk/dpdk_suite_test.go @@ -9,7 +9,6 @@ import ( . "github.com/onsi/gomega" "github.com/openshift-kni/eco-goinfra/pkg/mco" "github.com/openshift-kni/eco-goinfra/pkg/namespace" - "github.com/openshift-kni/eco-goinfra/pkg/nto" //nolint:misspell "github.com/openshift-kni/eco-goinfra/pkg/reportxml" "github.com/openshift-kni/eco-gotests/tests/cnf/core/network/dpdk/internal/dpdkenv" "github.com/openshift-kni/eco-gotests/tests/cnf/core/network/dpdk/internal/tsparams" @@ -23,7 +22,7 @@ import ( var ( _, currentFile, _, _ = runtime.Caller(0) testNS = namespace.NewBuilder(APIClient, tsparams.TestNamespaceName) - perfProfileName = "automationdpdk" + perfProfileName = "performance-profile-dpdk" ) func TestLB(t *testing.T) { @@ -63,12 +62,6 @@ var _ = AfterSuite(func() { err := testNS.DeleteAndWait(tsparams.WaitTimeout) Expect(err).ToNot(HaveOccurred(), "Fail to delete test namespace") - By("Removing performanceProfile") - perfProfile, err := nto.Pull(APIClient, perfProfileName) - Expect(err).ToNot(HaveOccurred(), "Fail to pull test PerformanceProfile") - _, err = perfProfile.Delete() - Expect(err).ToNot(HaveOccurred(), "Fail to delete PerformanceProfile") - By("Waiting until cluster is stable") mcp, err := mco.Pull(APIClient, NetConfig.CnfMcpLabel) Expect(err).ToNot(HaveOccurred(), "Fail to pull MCP ") diff --git a/tests/cnf/core/network/sriov/tests/qinq.go b/tests/cnf/core/network/sriov/tests/qinq.go index 19970e501..a5b4fe4e2 100644 --- a/tests/cnf/core/network/sriov/tests/qinq.go +++ b/tests/cnf/core/network/sriov/tests/qinq.go @@ -10,7 +10,6 @@ import ( "github.com/openshift-kni/eco-goinfra/pkg/configmap" "github.com/openshift-kni/eco-goinfra/pkg/nad" "github.com/openshift-kni/eco-goinfra/pkg/nmstate" - "github.com/openshift-kni/eco-goinfra/pkg/nto" //nolint:misspell "github.com/openshift-kni/eco-goinfra/pkg/reportxml" "github.com/openshift-kni/eco-gotests/tests/cnf/core/network/internal/cmd" "github.com/openshift-kni/eco-gotests/tests/cnf/core/network/internal/define" @@ -549,11 +548,6 @@ var _ = Describe("QinQ", Ordered, Label(tsparams.LabelQinQTestCases), ContinueOn testOutPutString) }) AfterAll(func() { - By("Removing performanceProfile") - perfProfile, err := nto.Pull(APIClient, perfProfileName) - Expect(err).ToNot(HaveOccurred(), "Fail to pull test PerformanceProfile") - _, err = perfProfile.Delete() - Expect(err).ToNot(HaveOccurred(), "Fail to delete PerformanceProfile") By("Clean the test env of sriov and pod deployments") cleanTestEnvSRIOVConfiguration()