Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for FATAL (0.1 sec)

  1. tests/integration/ambient/baseline_test.go

    		nsConfig, err := namespace.New(t, namespace.Config{
    			Prefix: "badgateway",
    			Inject: false,
    			Labels: map[string]string{
    				constants.DataplaneModeLabel: "ambient",
    			},
    		})
    		if err != nil {
    			t.Fatal(err)
    		}
    		istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    			"waypoint",
    			"apply",
    			"--namespace",
    			nsConfig.Name(),
    			"--revision",
    			"foo",
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  2. pilot/pkg/security/authn/policy_applier_test.go

    	protovalue "istio.io/istio/pkg/proto"
    	istiotest "istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestJwtFilter(t *testing.T) {
    	ms, err := test.StartNewServer()
    	if err != nil {
    		t.Fatal("failed to start a mock server")
    	}
    
    	jwksURI := ms.URL + "/oauth2/v3/certs"
    
    	cases := []struct {
    		name          string
    		in            []*config.Config
    		jwksFetchMode jwt.JwksFetchMode
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  3. src/testing/testing.go

    func (c *common) Errorf(format string, args ...any) {
    	c.checkFuzzFn("Errorf")
    	c.log(fmt.Sprintf(format, args...))
    	c.Fail()
    }
    
    // Fatal is equivalent to Log followed by FailNow.
    func (c *common) Fatal(args ...any) {
    	c.checkFuzzFn("Fatal")
    	c.log(fmt.Sprintln(args...))
    	c.FailNow()
    }
    
    // Fatalf is equivalent to Logf followed by FailNow.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/replica_calculator_test.go

    		if tc.metric.singleObject == nil {
    			t.Fatal("Metric specified as objectMetric but metric.singleObject is nil.")
    		}
    		outReplicas, outUsage, outTimestamp, err = replicaCalc.GetObjectMetricReplicas(tc.currentReplicas, tc.metric.targetUsage, tc.metric.name, testNamespace, tc.metric.singleObject, selector, nil)
    	case objectPerPodMetric:
    		if tc.metric.singleObject == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_test.go

    		oldestProtocol := oldestService.Ports[0].Protocol
    		if oldestProtocol != protocol.HTTP && isHTTPListener(listeners[0]) {
    			t.Fatal("expected TCP listener, found HTTP")
    		} else if oldestProtocol == protocol.HTTP && !isHTTPListener(listeners[0]) {
    			t.Fatal("expected HTTP listener, found TCP")
    		}
    
    		// Validate that listener conflict preserves the listener of oldest service.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/sidecar_simulation_test.go

    	if got == nil {
    		return nil
    	}
    	s, err := protomarshal.Marshal(got)
    	if err != nil {
    		t.Fatal(err)
    	}
    	meta := clusterServicesMetadata{}
    	if err := json.Unmarshal(s, &meta); err != nil {
    		t.Fatal(err)
    	}
    	res := []string{}
    	for _, m := range meta.Services {
    		res = append(res, m.Host)
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. tests/query_test.go

    func TestQueryScanToArray(t *testing.T) {
    	err := DB.Create(&User{Name: "testname1", Age: 10}).Error
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	users := [2]*User{{Name: "1"}, {Name: "2"}}
    	err = DB.Model(&User{}).Where("name = ?", "testname1").Find(&users).Error
    	if err != nil {
    		t.Fatal(err)
    	}
    	if users[0] == nil || users[0].Name != "testname1" {
    		t.Error("users[0] not covered")
    	}
    	if users[1] != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  8. pkg/apis/certificates/validation/validation_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	csrDER, err := x509.CreateCertificateRequest(rand.Reader, template, key)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	csrPemBlock := &pem.Block{
    		Type:  "CERTIFICATE REQUEST",
    		Bytes: csrDER,
    	}
    
    	p := pem.EncodeToMemory(csrPemBlock)
    	if p == nil {
    		t.Fatal("invalid pem block")
    	}
    
    	return p
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/load.go

    				}
    
    			default:
    				panic(fmt.Sprintf("internal error: modload missing case for pattern %s", m.Pattern()))
    			}
    		}
    	}
    
    	initialRS, err := loadModFile(ctx, &opts)
    	if err != nil {
    		base.Fatal(err)
    	}
    
    	ld := loadFromRoots(ctx, loaderParams{
    		PackageOpts:  opts,
    		requirements: initialRS,
    
    		allPatternIsRoot: allPatternIsRoot,
    
    		listRoots: func(rs *Requirements) (roots []string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. src/crypto/des/des_test.go

    	if err != nil {
    		b.Fatal("NewCipher:", err)
    	}
    	out := make([]byte, len(tt.in))
    	b.SetBytes(int64(len(out)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		c.Encrypt(out, tt.in)
    	}
    }
    
    func BenchmarkDecrypt(b *testing.B) {
    	tt := encryptDESTests[0]
    	c, err := des.NewCipher(tt.key)
    	if err != nil {
    		b.Fatal("NewCipher:", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 16:49:56 UTC 2023
    - 52.2K bytes
    - Viewed (0)
Back to top