squakez commented on code in PR #3623: URL: https://github.com/apache/camel-k/pull/3623#discussion_r966752599
########## e2e/global/common/kamelet_test.go: ########## @@ -41,18 +41,37 @@ func TestKameletClasspathLoading(t *testing.T) { Eventually(Kamelet(kameletName, ns)).Should(BeNil()) - Expect(KamelRunWithID(operatorID, ns, "files/TimerKameletIntegration.java", "-t", "kamelets.enabled=false", - "--resource", "file:files/timer-source.kamelet.yaml@/kamelets/timer-source.kamelet.yaml", - "-p camel.component.kamelet.location=file:/kamelets", - "-d", "camel:yaml-dsl", - // kamelet dependencies - "-d", "camel:timer").Execute()).To(Succeed()) - Eventually(IntegrationPodPhase(ns, "timer-kamelet-integration"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) - - Eventually(IntegrationLogs(ns, "timer-kamelet-integration")).Should(ContainSubstring("important message")) - - // Cleanup - Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) + // Basic + t.Run("test basic case", func(t *testing.T) { + + Expect(KamelRunWithID(operatorID, ns, "files/TimerKameletIntegration.java", "-t", "kamelets.enabled=false", + "--resource", "file:files/timer-source.kamelet.yaml@/kamelets/timer-source.kamelet.yaml", + "-p camel.component.kamelet.location=file:/kamelets", + "-d", "camel:yaml-dsl", Review Comment: As you've cleaned those dependencies in your test, you may want to have a look at this test suite and remove those useless dependencies as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org