Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for FATAL (0.11 sec)

  1. src/crypto/tls/handshake_server_test.go

    	testClientHelloFailure(t, serverConfig, m, "")
    }
    
    // testFatal is a hack to prevent the compiler from complaining that there is a
    // call to t.Fatal from a non-test goroutine
    func testFatal(t *testing.T, err error) {
    	t.Helper()
    	t.Fatal(err)
    }
    
    func testClientHelloFailure(t *testing.T, serverConfig *Config, m handshakeMessage, expectedSubStr string) {
    	c, s := localPipe(t)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    				b.Fatal(fmt.Errorf("failed converting CRD validation to internal version: %v", err))
    				return
    			}
    
    			validator, err := newValidator(internalValidation.OpenAPIV3Schema, gvk, parsed.Spec.Scope == apiextensionsv1.NamespaceScoped)
    			if err != nil {
    				b.Fatal(err)
    				return
    			}
    			validators[gvk] = validator
    		}
    
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/init.go

    	rs := requirementsFromModFiles(ctx, nil, []*modfile.File{modFile}, nil)
    	rs, err := updateRoots(ctx, rs.direct, rs, nil, nil, false)
    	if err != nil {
    		base.Fatal(err)
    	}
    	requirements = rs
    	if err := commitRequirements(ctx, WriteOpts{}); err != nil {
    		base.Fatal(err)
    	}
    
    	// Suggest running 'go mod tidy' unless the project is empty. Even if we
    	// imported all the correct requirements above, we're probably missing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			}
    
    			_, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    			p, err := NewFit(ctx, &test.args, nil, plfeature.Features{})
    			if err != nil {
    				t.Fatal(err)
    			}
    			cycleState := framework.NewCycleState()
    			_, preFilterStatus := p.(framework.PreFilterPlugin).PreFilter(ctx, cycleState, test.pod)
    			if !preFilterStatus.IsSuccess() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  5. src/runtime/pprof/pprof_test.go

    				if len(s.Value) < 2 {
    					t.Fatal("block profile has less than 2 sample types")
    				}
    
    				if line.Function.Name == "runtime/pprof.blockInfrequentLong" {
    					il = float64(s.Value[1])
    				} else if line.Function.Name == "runtime/pprof.blockFrequentShort" {
    					fs = float64(s.Value[1])
    				}
    			}
    		}
    	}
    	if il == -1 || fs == -1 {
    		t.Fatal("block profile is missing expected functions")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  6. src/net/url/url_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if u1.String() != u.String() {
    		t.Errorf("json decoded to: %s\nwant: %s\n", u1, u)
    	}
    }
    
    func TestGob(t *testing.T) {
    	u, err := Parse("https://www.google.com/x?y=z")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var w bytes.Buffer
    	err = gob.NewEncoder(&w).Encode(u)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	u1 := new(URL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    	b, err := xml.MarshalIndent(&lc, "", "\t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var lc1 Lifecycle
    	err = xml.Unmarshal(b, &lc1)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ruleSet := make(map[string]struct{})
    	for _, rule := range lc.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ruleSet[string(ruleBytes)] = struct{}{}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

        Write_PkiData "${CA_CERT_BUNDLE}" ${env:CA_FILE_PATH}
      }
      else {
        Log-Output -Fatal 'CA_CERT not present in kube-env'
      }
    
      if ($kube_env.ContainsKey('KUBELET_CERT')) {
        $KUBELET_CERT = ${kube_env}['KUBELET_CERT']
        Write_PkiData "${KUBELET_CERT}" ${env:KUBELET_CERT_PATH}
      }
      else {
        Log-Output -Fatal 'KUBELET_CERT not present in kube-env'
      }
      if ($kube_env.ContainsKey('KUBELET_KEY')) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    		makePkg := func(src string) *Package {
    			pkg, err := typecheck(src, &conf, &Info{Instances: instMap, Uses: useMap})
    			// allow error for issue51803
    			if err != nil && (pkg == nil || pkg.Name() != "issue51803") {
    				t.Fatal(err)
    			}
    			imports[pkg.Name()] = pkg
    			return pkg
    		}
    		makePkg(lib)
    		pkg := makePkg(test.src)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			// Sort instances in source order for stability.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    		makePkg := func(src string) *Package {
    			pkg, err := typecheck(src, &conf, &Info{Instances: instMap, Uses: useMap})
    			// allow error for issue51803
    			if err != nil && (pkg == nil || pkg.Name() != "issue51803") {
    				t.Fatal(err)
    			}
    			imports[pkg.Name()] = pkg
    			return pkg
    		}
    		makePkg(lib)
    		pkg := makePkg(test.src)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			// Sort instances in source order for stability.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top