Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 547 for desc1 (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. cluster/gce/gci/append_or_replace_prefixed_line_test.go

    func TestAppendOrReplacePrefix(t *testing.T) {
    	testCases := []struct {
    		desc                string
    		prefix              string
    		suffix              string
    		initialFileContents string
    		want                string
    	}{
    		{
    			desc:   "simple string and empty file",
    			prefix: "hello",
    			suffix: "world",
    			want: `helloworld
    `,
    		},
    		{
    			desc:   "simple string and non empty file",
    			prefix: "hello",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/kubeadm/app/componentconfigs/checksums_test.go

    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    var checksumTestCases = []struct {
    	desc      string
    	configMap *v1.ConfigMap
    	checksum  string
    }{
    	{
    		desc:     "checksum is calculated using both data and binaryData",
    		checksum: "sha256:c8f8b724728a6d6684106e5e64e94ce811c9965d19dd44dd073cf86cf43bc238",
    		configMap: &v1.ConfigMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top