Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra Pamuluri committed May 4, 2023
1 parent f37ff13 commit fc1591e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions test/e2e/coexistence/cli_coexistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ var _ = ginkgo.Describe("CLI Coexistence Tests", func() {
gomega.Expect(err).To(gomega.BeNil(), "should not get any error for plugin source update")

ginkgo.By("Search plugins and make sure there are plugins available using new Tanzu CLI")
pluginsSearchList := pluginlifecyclee2e.SearchAllPlugins(tf, framework.WithTanzuCommandPrefix(framework.TzPrefix))
pluginsSearchList, err := pluginlifecyclee2e.SearchAllPlugins(tf, framework.WithTanzuCommandPrefix(framework.TzPrefix))
gomega.Expect(err).To(gomega.BeNil(), framework.NoErrorForPluginSearch)
gomega.Expect(len(pluginsSearchList)).Should(gomega.BeNumerically(">", 0))

ginkgo.By("Installing few plugins using new Tanzu CLI")
Expand Down Expand Up @@ -175,7 +176,8 @@ var _ = ginkgo.Describe("CLI Coexistence Tests", func() {
gomega.Expect(err).To(gomega.BeNil(), "should not get any error for plugin source update")

ginkgo.By("Search plugins and make sure there are plugins available using new Tanzu CLI")
pluginsSearchList := pluginlifecyclee2e.SearchAllPlugins(tf)
pluginsSearchList, err := pluginlifecyclee2e.SearchAllPlugins(tf)
gomega.Expect(err).To(gomega.BeNil(), framework.NoErrorForPluginSearch)
gomega.Expect(len(pluginsSearchList)).Should(gomega.BeNumerically(">", 0))

ginkgo.By("Installing few plugins using new Tanzu CLI")
Expand Down Expand Up @@ -245,7 +247,8 @@ var _ = ginkgo.Describe("CLI Coexistence Tests", func() {
gomega.Expect(err).To(gomega.BeNil(), "should not get any error for plugin source update")

ginkgo.By("Search plugins and make sure there are plugins available using new Tanzu CLI")
pluginsSearchList := pluginlifecyclee2e.SearchAllPlugins(tf)
pluginsSearchList, err := pluginlifecyclee2e.SearchAllPlugins(tf)
gomega.Expect(err).To(gomega.BeNil(), framework.NoErrorForPluginSearch)
gomega.Expect(len(pluginsSearchList)).Should(gomega.BeNumerically(">", 0))

ginkgo.By("Install few plugins using new Tanzu CLI")
Expand Down Expand Up @@ -325,7 +328,8 @@ var _ = ginkgo.Describe("CLI Coexistence Tests", func() {
gomega.Expect(err).To(gomega.BeNil(), "should not get any error for plugin source update")

ginkgo.By("search plugins and make sure there are plugins available")
pluginsSearchList := pluginlifecyclee2e.SearchAllPlugins(tf, framework.WithTanzuCommandPrefix(framework.TzPrefix))
pluginsSearchList, err := pluginlifecyclee2e.SearchAllPlugins(tf, framework.WithTanzuCommandPrefix(framework.TzPrefix))
gomega.Expect(err).To(gomega.BeNil(), framework.NoErrorForPluginSearch)
gomega.Expect(len(pluginsSearchList)).Should(gomega.BeNumerically(">", 0))

ginkgo.By("Install few plugins using new Tanzu CLI")
Expand Down Expand Up @@ -405,7 +409,8 @@ var _ = ginkgo.Describe("CLI Coexistence Tests", func() {
gomega.Expect(err).To(gomega.BeNil(), "should not get any error for plugin source update")

ginkgo.By("search plugins and make sure there are plugins available using new Tanzu CLI")
pluginsSearchList := pluginlifecyclee2e.SearchAllPlugins(tf)
pluginsSearchList, err := pluginlifecyclee2e.SearchAllPlugins(tf)
gomega.Expect(err).To(gomega.BeNil(), framework.NoErrorForPluginSearch)
gomega.Expect(len(pluginsSearchList)).Should(gomega.BeNumerically(">", 0))

ginkgo.By("Install few plugins using new Tanzu CLI")
Expand Down

0 comments on commit fc1591e

Please sign in to comment.