From be78c0e8ee008544cba860e7a615a44805f61f20 Mon Sep 17 00:00:00 2001 From: hemz10 Date: Tue, 12 Mar 2024 11:48:56 +0530 Subject: [PATCH] fix: remove code that deletes config --- test/functional/dive_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/functional/dive_test.go b/test/functional/dive_test.go index 08c0d7e..11bcf1a 100644 --- a/test/functional/dive_test.go +++ b/test/functional/dive_test.go @@ -546,7 +546,6 @@ var _ = ginkgo.Describe("DIVE CLI App", func() { ginkgo.It("should run custom Icon node-0", func() { enclaveName := dive.GenerateRandomName() cmd.Args = append(cmd.Args, "chain", "icon", "-c", dive.ICON_CONFIG0, "-g", dive.ICON_GENESIS0, "--enclaveName", enclaveName) - defer os.Remove(dive.ICON_CONFIG0) defer dive.Clean(enclaveName) err := cmd.Run() gomega.Expect(err).NotTo(gomega.HaveOccurred()) @@ -555,7 +554,6 @@ var _ = ginkgo.Describe("DIVE CLI App", func() { ginkgo.It("should run custom Icon node-1", func() { enclaveName := dive.GenerateRandomName() cmd.Args = append(cmd.Args, "chain", "icon", "-c", dive.ICON_CONFIG1, "-g", dive.ICON_GENESIS1, "--enclaveName", enclaveName) - defer os.Remove(dive.ICON_CONFIG1) defer dive.Clean(enclaveName) err := cmd.Run() gomega.Expect(err).NotTo(gomega.HaveOccurred()) @@ -713,7 +711,6 @@ var _ = ginkgo.Describe("DIVE CLI App", func() { ginkgo.It("should run single custom archway node-1", func() { enclaveName := dive.GenerateRandomName() cmd.Args = append(cmd.Args, "chain", "archway", "-c", dive.ARCHWAY_CONFIG0, "--enclaveName", enclaveName) - defer os.Remove(dive.ARCHWAY_CONFIG0) defer dive.Clean(enclaveName) err := cmd.Run() gomega.Expect(err).NotTo(gomega.HaveOccurred()) @@ -749,7 +746,6 @@ var _ = ginkgo.Describe("DIVE CLI App", func() { ginkgo.It("should run single custom neutron node-1", func() { enclaveName := dive.GenerateRandomName() cmd.Args = append(cmd.Args, "chain", "neutron", "-c", dive.NEUTRON_CONFIG0, "--enclaveName", enclaveName) - defer os.Remove(dive.NEUTRON_CONFIG0) defer dive.Clean(enclaveName) err := cmd.Run() gomega.Expect(err).NotTo(gomega.HaveOccurred())