Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createServiceImport (0.16 sec)

  1. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    	c, ic := newTestServiceImportCache(t)
    
    	ic.createKubeService(t, c)
    	ic.createServiceImport(t, mcsapi.ClusterSetIP, serviceImportVIPs)
    
    	// Check that the service has been assigned ClusterSet IPs.
    	ic.checkServiceInstances(t)
    }
    
    func TestServiceCreatedAfterImported(t *testing.T) {
    	c, ic := newTestServiceImportCache(t)
    
    	ic.createServiceImport(t, mcsapi.ClusterSetIP, serviceImportVIPs)
    	ic.createKubeService(t, c)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    				clusterSetIPSvc, err := genClusterSetIPService(c)
    				if err != nil {
    					return err
    				}
    
    				// Create a ServiceImport in the cluster with the ClusterSet VIP.
    				return createServiceImport(c, clusterSetIPSvc.Spec.ClusterIP, serviceImportGVR)
    			})
    		}
    	}
    
    	err = g.Wait()
    	status := "success"
    	if err != nil {
    		status = "failed"
    	}
    
    	end := time.Now()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top