Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 465 for desc2 (0.06 sec)

  1. pkg/kubelet/network/dns/dns_test.go

    		},
    	}
    
    	testCases := []struct {
    		desc         string
    		hostNames    []string
    		resultSearch []string
    		events       []string
    	}{
    		{
    			desc:         "valid: 3 search paths",
    			hostNames:    []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			resultSearch: []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			events:       []string{},
    		},
    
    		{
    			desc:         "valid: 5 search paths",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. operator/pkg/tpath/struct_test.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestGetFromStructPath(t *testing.T) {
    	tests := []struct {
    		desc      string
    		nodeYAML  string
    		path      string
    		wantYAML  string
    		wantFound bool
    		wantErr   string
    	}{
    		{
    			desc: "GetStructItem",
    			nodeYAML: `
    a: va
    b: vb
    c:
      d: vd
      e:
        f: vf
    g:
      h:
      - i: vi
        j: vj
        k:
          l:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. pkg/controller/nodeipam/ipam/sync/sync_test.go

    	t.Parallel()
    
    	for _, tc := range []struct {
    		desc string
    		mode NodeSyncMode
    		node *v1.Node
    		fake fakeAPIs
    	}{
    		{
    			desc: "delete",
    			mode: SyncFromCluster,
    			node: nodeWithCIDRRange,
    		},
    		{
    			desc: "delete without CIDR range",
    			mode: SyncFromCluster,
    			node: nodeWithoutCIDRRange,
    		},
    		{
    			desc: "delete with invalid CIDR range",
    			mode: SyncFromCluster,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/route_test.go

    )
    
    func TestDescribeRouteDomains(t *testing.T) {
    	tests := []struct {
    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    			domains:  []string{},
    			expected: "",
    		},
    		{
    			desc:     "test only one domain",
    			domains:  []string{"example.com"},
    			expected: "example.com",
    		},
    		{
    			desc:     "test domains with port",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/internal/fuzz/encoding_test.go

    		{
    			desc: "negative uint",
    			in: `go test fuzz v1
    uint(-32)`,
    			reject: true,
    		},
    		{
    			desc: "int8 too large",
    			in: `go test fuzz v1
    int8(1234456)`,
    			reject: true,
    		},
    		{
    			desc: "multiplication in int value",
    			in: `go test fuzz v1
    int(20*5)`,
    			reject: true,
    		},
    		{
    			desc: "double negation",
    			in: `go test fuzz v1
    int(--5)`,
    			reject: true,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionFixture.groovy

        static void assertDescription(CommandLineOption option, String desc) {
            assert option.description == desc
        }
    
        static void assertIncubatingDescription(CommandLineOption option, boolean incubating) {
            assertIncubatingDescription(option, incubating, DESCRIPTION)
        }
    
        static void assertIncubatingDescription(CommandLineOption option, boolean incubating, String desc) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. operator/pkg/controlplane/control_plane_test.go

    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestOrderedKeys(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   map[string]*v1alpha1.ExternalComponentSpec
    		want []string
    	}{
    		{
    			desc: "not-ordered",
    			in: map[string]*v1alpha1.ExternalComponentSpec{
    				"graphql":   nil,
    				"Abacus":    nil,
    				"Astrology": nil,
    				"gRPC":      nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 04 02:36:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. pilot/pkg/model/extensions_test.go

    	}
    }
    
    func TestFailStrategy(t *testing.T) {
    	cases := []struct {
    		desc string
    		in   *extensions.WasmPlugin
    		out  bool
    	}{
    		{
    			desc: "close",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    				FailStrategy: extensions.FailStrategy_FAIL_CLOSE,
    			},
    			out: false,
    		},
    		{
    			desc: "open",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. operator/pkg/version/version_test.go

    func TestVersion(t *testing.T) {
    	tests := []struct {
    		desc    string
    		yamlStr string
    		want    Version
    		wantErr string
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc:    "major success",
    			yamlStr: "1",
    			want:    NewVersion(1, 0, 0, ""),
    		},
    		{
    			desc:    "major fail",
    			yamlStr: "1..",
    			wantErr: `Malformed version: 1..`,
    		},
    		{
    			desc:    "major fail prefix",
    			yamlStr: ".1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/testing/panic_test.go

    func TestPanic(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	testCases := []struct {
    		desc  string
    		flags []string
    		want  string
    	}{{
    		desc:  "root test panics",
    		flags: []string{"-test_panic_test=TestPanicHelper"},
    		want: `
    --- FAIL: TestPanicHelper (N.NNs)
        panic_test.go:NNN: TestPanicHelper
    `,
    	}, {
    		desc:  "subtest panics",
    		flags: []string{"-test_panic_test=TestPanicHelper/1"},
    		want: `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top