You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/10/14 04:11:54 UTC
[camel-k] 02/02: (e2e): fixes missing functions in kamelet test
This is an automated email from the ASF dual-hosted git repository.
tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 1aad2f343704ffc9d11724d68ecfb38ae0661a25
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Wed Oct 12 12:00:43 2022 +0100
(e2e): fixes missing functions in kamelet test
* Functions removed in alternative src file so no longer available. Reverts
to original syntax.
---
e2e/namespace/install/cli/kamelet_test.go | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/e2e/namespace/install/cli/kamelet_test.go b/e2e/namespace/install/cli/kamelet_test.go
index 9df9a5bfc..cf70b39ae 100644
--- a/e2e/namespace/install/cli/kamelet_test.go
+++ b/e2e/namespace/install/cli/kamelet_test.go
@@ -23,6 +23,7 @@ limitations under the License.
package common
import (
+ "fmt"
"testing"
. "github.com/onsi/gomega"
@@ -33,8 +34,8 @@ import (
func TestKameletFromCustomRepository(t *testing.T) {
WithNewTestNamespace(t, func(ns string) {
- operatorID := operatorID(ns)
- installWithID(ns)
+ operatorID := fmt.Sprintf("camel-k-%s", ns)
+ Expect(KamelInstallWithID(operatorID, ns).Execute()).To(Succeed())
kameletName := "timer-custom-source"
removeKamelet(kameletName, ns)