Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for TestAs (0.26 sec)

  1. pilot/pkg/model/push_context_test.go

    					},
    				},
    			},
    		},
    	}
    
    	expectedns := []string{
    		"testns/super-high-priority", "testns/high-priority", "testns/default-priority", "testns/a-medium-priority",
    		"testns/b-medium-priority", "testns/b-low-priority", "testns/a-low-priority",
    	}
    
    	expectedns1 := []string{"testns-1/default-priority", "testns-1/a-medium-priority", "testns-1/b-medium-priority"}
    
    	for _, cfg := range envoyFilters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    			// Label the pod and check that the correct event is produced.
    			s.labelPod(t, "pod1", testNS,
    				map[string]string{"app": "a", constants.AmbientUseWaypointLabel: "test-wp"})
    			c.podAssertion(s)
    
    			// Label the service and check that the correct event is produced.
    			s.labelService(t, "svc1", testNS,
    				map[string]string{constants.AmbientUseWaypointLabel: "test-wp"})
    			c.svcAssertion(s)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_mounter_test.go

    	fakecsi "k8s.io/kubernetes/pkg/volume/csi/fake"
    	"k8s.io/kubernetes/pkg/volume/util"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    var (
    	testDriver  = "test-driver"
    	testVol     = "vol-123"
    	testns      = "test-ns"
    	testPod     = "test-pod"
    	testPodUID  = types.UID("test-pod")
    	testAccount = "test-service-account"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		shouldFail bool
    	}
    	scenarios := map[string]scenarioType{
    		"no-volumes": {
    			pod: makePod("test-pod").
    				withNamespace("testns").
    				withNodeName("node1").Pod,
    		},
    		"no-pvcs": {
    			pod: makePod("test-pod").
    				withNamespace("testns").
    				withNodeName("node1").
    				withEmptyDirVolume().Pod,
    		},
    		"pvc-not-found": {
    			cachePVCs:  []*v1.PersistentVolumeClaim{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    		"destination_principal":          fmt.Sprintf("spiffe://cluster.local/ns/%v/sa/%s", destns, dst.Config().AccountName()),
    		"destination_service_name":       dst.Config().Service,
    		"destination_workload":           deployName(dst),
    		"destination_workload_namespace": destns,
    		"destination_service_namespace":  destns,
    		"source_canonical_service":       src.ServiceName(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. src/testing/testing.go

    		rng := rand.New(rand.NewSource(n))
    		rng.Shuffle(len(m.tests), func(i, j int) { m.tests[i], m.tests[j] = m.tests[j], m.tests[i] })
    		rng.Shuffle(len(m.benchmarks), func(i, j int) { m.benchmarks[i], m.benchmarks[j] = m.benchmarks[j], m.benchmarks[i] })
    	}
    
    	parseCpuList()
    
    	m.before()
    	defer m.after()
    
    	// Run tests, examples, and benchmarks unless this is a fuzz worker process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. src/os/os_test.go

    	tmpDir := t.TempDir()
    	if err := CopyFS(tmpDir, fsys); err != nil {
    		t.Fatal("CopyFS:", err)
    	}
    	forceMFTUpdateOnWindows(t, tmpDir)
    	tmpFsys := DirFS(tmpDir)
    	if err := fstest.TestFS(tmpFsys, "a", "b", "dir/x"); err != nil {
    		t.Fatal("TestFS:", err)
    	}
    	if err := fs.WalkDir(fsys, ".", func(path string, d fs.DirEntry, err error) error {
    		if d.IsDir() {
    			return nil
    		}
    
    		data, err := fs.ReadFile(fsys, path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/test/test.go

    	    part of a test's identifier must match the corresponding element in
    	    the sequence, if any. Note that possible parents of matches are
    	    run too, so that -run=X/Y matches and runs and reports the result
    	    of all tests matching X, even those without sub-tests matching Y,
    	    because it must run them to look for those sub-tests.
    	    See also -skip.
    
    	-short
    	    Tell long-running tests to shorten their run time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  9. pkg/controller/cronjob/cronjob_controllerv2_test.go

    			expectRequeueAfter:         true,
    			expectedRequeueDuration:    1*time.Hour + nextScheduleDelta,
    			expectUpdateStatus:         true,
    			jobPresentInCJActiveStatus: true,
    		},
    
    		// Tests for time skews
    		// the controller sees job is created, takes no actions
    		"this ran but done, time drifted back, F": {
    			concurrencyPolicy:       "Forbid",
    			schedule:                onTheHour,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_test.go

    		},
    	}
    	for _, tt := range tests {
    		tt.proxy.DiscoverIPMode()
    		wm, lh := getActualWildcardAndLocalHost(tt.proxy)
    		if wm != tt.expected[0] && lh != tt.expected[1] {
    			t.Errorf("Test %s failed, expected: %s / %s got: %s / %s", tt.name, tt.expected[0], tt.expected[1], wm, lh)
    		}
    	}
    }
    
    func TestGetDualStackActualWildcard(t *testing.T) {
    	tests := []struct {
    		name     string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top