Skip to content

Commit d49c9ee

Browse files
feat: PAAL-123 update samples for e2e tests
1 parent 405f24b commit d49c9ee

File tree

3 files changed

+0
-35
lines changed

3 files changed

+0
-35
lines changed

config/samples/runtime_v1alpha1_agent.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ metadata:
88
spec:
99
framework: google-adk
1010
image: ghcr.io/agentic-layer/weather-agent:0.3.0
11-
protocols:
12-
- type: A2A # Will generate HTTP readiness probe: GET /a2a/.well-known/agent-card.json
13-
port: 8000
1411
replicas: 1
1512
env:
1613
- name: PORT

config/samples/runtime_v1alpha1_agent_template.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ spec:
1818
url: "https://news.mcpservers.org/fetch/mcp"
1919
- name: web_fetch
2020
url: "https://remote.mcpservers.org/fetch/mcp"
21-
protocols:
22-
- type: A2A
2321
replicas: 1
2422
env:
2523
- name: LOG_LEVEL

test/e2e/e2e_test.go

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -394,21 +394,6 @@ var _ = Describe("Manager", Ordered, func() {
394394
}
395395
Eventually(verifyDeploymentReady, 3*time.Minute).Should(Succeed())
396396

397-
By("verifying the weather agent service is created")
398-
verifyServiceExists := func(g Gomega) {
399-
cmd := exec.Command("kubectl", "get", "service", weatherAgentName, "-n", testNamespace)
400-
_, err := utils.Run(cmd)
401-
g.Expect(err).NotTo(HaveOccurred())
402-
403-
// Verify service has the expected port
404-
cmd = exec.Command("kubectl", "get", "service", weatherAgentName, "-n", testNamespace,
405-
"-o", "jsonpath={.spec.ports[0].port}")
406-
output, err := utils.Run(cmd)
407-
g.Expect(err).NotTo(HaveOccurred())
408-
g.Expect(output).To(Equal("8000"), "Service should expose port 8000")
409-
}
410-
Eventually(verifyServiceExists).Should(Succeed())
411-
412397
By("verifying the weather agent pod is healthy")
413398
verifyPodHealthy := func(g Gomega) {
414399
cmd := exec.Command("kubectl", "get", "pods", "-l", "app="+weatherAgentName, "-n", testNamespace,
@@ -478,21 +463,6 @@ var _ = Describe("Manager", Ordered, func() {
478463
}
479464
Eventually(verifyDeploymentReady, 3*time.Minute).Should(Succeed())
480465

481-
By("verifying the news agent service is created")
482-
verifyServiceExists := func(g Gomega) {
483-
cmd := exec.Command("kubectl", "get", "service", newsAgentName, "-n", testNamespace)
484-
_, err := utils.Run(cmd)
485-
g.Expect(err).NotTo(HaveOccurred())
486-
487-
// Verify service has the expected port (google-adk default port 8000)
488-
cmd = exec.Command("kubectl", "get", "service", newsAgentName, "-n", testNamespace,
489-
"-o", "jsonpath={.spec.ports[0].port}")
490-
output, err := utils.Run(cmd)
491-
g.Expect(err).NotTo(HaveOccurred())
492-
g.Expect(output).To(Equal("8000"), "Service should expose port 8000")
493-
}
494-
Eventually(verifyServiceExists).Should(Succeed())
495-
496466
By("verifying the news agent pod is healthy")
497467
verifyPodHealthy := func(g Gomega) {
498468
cmd := exec.Command("kubectl", "get", "pods", "-l", "app="+newsAgentName, "-n", testNamespace,

0 commit comments

Comments
 (0)