This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 2a23605426316ea92cd8256b1b044356973488ad
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue May 28 12:49:08 2024 +0200

    fix(e2e): remove useless copies
    
    The namespace is expected to be clean on purpose!
---
 e2e/advanced/promote_test.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/e2e/advanced/promote_test.go b/e2e/advanced/promote_test.go
index 77a9b1827..dc0116320 100644
--- a/e2e/advanced/promote_test.go
+++ b/e2e/advanced/promote_test.go
@@ -42,8 +42,6 @@ func TestKamelCLIPromote(t *testing.T) {
        // Dev environment namespace
        WithNewTestNamespace(t, func(ctx context.Context, g *WithT, nsDev 
string) {
                operatorDevID := "camel-k-cli-promote-dev"
-               g.Expect(CopyCamelCatalog(t, ctx, nsDev, 
operatorDevID)).To(Succeed())
-               g.Expect(CopyIntegrationKits(t, ctx, nsDev, 
operatorDevID)).To(Succeed())
                g.Expect(KamelInstallWithID(t, ctx, operatorDevID, 
nsDev)).To(Succeed())
                g.Eventually(SelectedPlatformPhase(t, ctx, nsDev, 
operatorDevID), 
TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady))
 
@@ -90,8 +88,6 @@ func TestKamelCLIPromote(t *testing.T) {
                // Prod environment namespace
                WithNewTestNamespace(t, func(ctx context.Context, g *WithT, 
nsProd string) {
                        operatorProdID := "camel-k-cli-promote-prod"
-                       g.Expect(CopyCamelCatalog(t, ctx, nsProd, 
operatorProdID)).To(Succeed())
-                       g.Expect(CopyIntegrationKits(t, ctx, nsProd, 
operatorProdID)).To(Succeed())
                        g.Expect(KamelInstallWithID(t, ctx, operatorProdID, 
nsProd)).To(Succeed())
                        g.Eventually(PlatformPhase(t, ctx, nsProd), 
TestTimeoutMedium).Should(Equal(v1.IntegrationPlatformPhaseReady))
 

Reply via email to