@@ -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