Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestNetwork (0.81 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/workloadapi"
    	"istio.io/istio/pkg/workloadapi/security"
    )
    
    const (
    	testNS   = "ns1"
    	systemNS = "istio-system"
    	testNW   = "testnetwork"
    	testC    = "cluster0"
    )
    
    func init() {
    	features.EnableAmbientWaypoints = true
    	features.EnableAmbient = true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pkg/kubelet/util/queue/work_queue_test.go

    	for _, u := range actual {
    		actualSet.Insert(string(u))
    	}
    	if !expectedSet.Equal(actualSet) {
    		t.Errorf("Expected %#v, got %#v", sets.List(expectedSet), sets.List(actualSet))
    	}
    }
    
    func TestGetWork(t *testing.T) {
    	q, clock := newTestBasicWorkQueue()
    	q.Enqueue(types.UID("foo1"), -1*time.Minute)
    	q.Enqueue(types.UID("foo2"), -1*time.Minute)
    	q.Enqueue(types.UID("foo3"), 1*time.Minute)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top