fix(e2e): Wait Knative service to be running before creating client integration
@@ -34,8 +34,8 @@ func TestRunServiceCombo(t *testing.T) {
Expect(kamel("install", "-n", ns, "--trait-profile", "knative").Execute()).Should(BeNil())
Expect(kamel("run", "-n", ns, "files/knative2.groovy").Execute()).Should(BeNil())
- Expect(kamel("run", "-n", ns, "files/knative1.groovy").Execute()).Should(BeNil())
Eventually(integrationPodPhase(ns, "knative2"), 10*time.Minute).Should(Equal(v1.PodRunning))
+ Expect(kamel("run", "-n", ns, "files/knative1.groovy").Execute()).Should(BeNil())
Eventually(integrationPodPhase(ns, "knative1"), 10*time.Minute).Should(Equal(v1.PodRunning))
Eventually(integrationLogs(ns, "knative1"), 5*time.Minute).Should(ContainSubstring("Received: Hello from knative2"))
Expect(kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil())
