Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for runN (0.11 sec)

  1. pkg/scheduler/schedule_one_test.go

    		wg.Done()
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer stopFn()
    
    	// Run scheduler.
    	informerFactory.Start(ctx.Done())
    	informerFactory.WaitForCacheSync(ctx.Done())
    	if err = sched.WaitForHandlersSync(ctx); err != nil {
    		t.Fatalf("Handlers failed to sync: %v: ", err)
    	}
    	go sched.Run(ctx)
    
    	// Send pods to be scheduled.
    	for _, p := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    				EdsClusterConfig:     &cluster.Cluster_EdsClusterConfig{ServiceName: "outbound|8080|v1|foo.default.svc.cluster.local"},
    			}},
    		},
    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			instances := []*model.ServiceInstance{
    				{
    					Service:     tt.service,
    					ServicePort: tt.port,
    					Endpoint: &model.IstioEndpoint{
    						ServicePortName: tt.port.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go

    			return 0, 3 // Illegal UTF-8: not a continuation byte.
    		}
    		return t.lookupValue(uint32(i), c3), 4
    	}
    	// Illegal rune
    	return 0, 1
    }
    
    // lookupUnsafe returns the trie value for the first UTF-8 encoding in s.
    // s must start with a full and valid UTF-8 encoded rune.
    func (t *bidiTrie) lookupUnsafe(s []byte) uint8 {
    	c0 := s[0]
    	if c0 < 0x80 { // is ASCII
    		return bidiValues[c0]
    	}
    	i := bidiIndex[c0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 118.9K bytes
    - Viewed (0)
  4. src/crypto/x509/verify_test.go

    	for _, test := range verifyTests {
    		t.Run(test.name, func(t *testing.T) {
    			testVerify(t, test, false)
    		})
    	}
    }
    
    func TestSystemVerify(t *testing.T) {
    	if runtime.GOOS != "windows" {
    		t.Skipf("skipping verify test using system APIs on %q", runtime.GOOS)
    	}
    
    	for _, test := range verifyTests {
    		t.Run(test.name, func(t *testing.T) {
    			if test.systemSkip {
    				t.SkipNow()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/memorymanager/policy_static_test.go

    				0: map[v1.ResourceName]uint64{},
    				1: map[v1.ResourceName]uint64{
    					v1.ResourceMemory: 512 * mb,
    				},
    			},
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.description, func(t *testing.T) {
    			_, _, err := initTests(t, &testCase, nil, nil)
    			if !reflect.DeepEqual(err, testCase.expectedError) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  6. pkg/registry/batch/job/strategy_test.go

    				Spec: batch.JobSpec{
    					Selector: validSelector,
    					Template: validPodTemplateSpec,
    					Suspend:  ptr.To(true),
    				},
    			},
    		},
    	}
    
    	for name, tc := range cases {
    		t.Run(name, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.JobPodFailurePolicy, tc.enableJobPodFailurePolicy)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			m:   matchPodName("foo", "makeMatchSingleReturnFalse"),
    			out: &example.PodList{Items: []example.Pod{*podB}},
    		},
    	}
    
    	for name, item := range table {
    		t.Run(name, func(t *testing.T) {
    			ctx := testContext
    			if item.context != nil {
    				ctx = item.context
    			}
    			destroyFunc, registry := NewTestGenericStoreRegistry(t)
    			defer destroyFunc()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  8. src/database/sql/sql_test.go

    		}
    	}
    	reset := func() { s = connRequestSet{} }
    
    	t.Run("add-delete", func(t *testing.T) {
    		reset()
    		wantLen(0)
    		dh := s.Add(nil)
    		wantLen(1)
    		if !s.Delete(dh) {
    			t.Fatal("failed to delete")
    		}
    		wantLen(0)
    		if s.Delete(dh) {
    			t.Error("delete worked twice")
    		}
    		wantLen(0)
    	})
    	t.Run("take-before-delete", func(t *testing.T) {
    		reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    fe00::2	ip6-allrouters
    12.34.56.78	another.domain
    
    # Entries added by HostAliases.
    123.45.67.89	foo	bar	baz
    456.78.90.123	park	doo	boo
    `,
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.hostsFileName, func(t *testing.T) {
    			tmpdir, err := writeHostsFile(testCase.hostsFileName, testCase.rawHostsFileContent)
    			require.NoError(t, err, "could not create a temp hosts file")
    			defer os.RemoveAll(tmpdir)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. src/html/entity.go

    // http://www.w3.org/TR/html4/sgml/entities.html
    var entity map[string]rune
    
    // HTML entities that are two unicode codepoints.
    var entity2 map[string][2]rune
    
    // populateMapsOnce guards calling populateMaps.
    var populateMapsOnce sync.Once
    
    // populateMaps populates entity and entity2.
    func populateMaps() {
    	entity = map[string]rune{
    		"AElig;":                           '\U000000C6',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 22:10:54 UTC 2018
    - 114.3K bytes
    - Viewed (0)
Back to top