Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 107 for expectedly (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		if value := w.Header().Get(key); expectedFS != value {
    			return fmt.Errorf("expected HTTP header %s to have value %q, but got: %q", key, expectedFS, value)
    		}
    
    		key = flowcontrol.ResponseHeaderMatchedPriorityLevelConfigurationUID
    		if value := w.Header().Get(key); expectedPL != value {
    			return fmt.Errorf("expected HTTP header %s to have value %q, but got %q", key, expectedPL, value)
    		}
    		return nil
    	}()
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testerrors/badsym_test.go

    	// The build should fail, but we want it to fail because we
    	// detected the error, not because we passed a bad flag to the
    	// C linker.
    
    	if err == nil {
    		t.Errorf("go build succeeded unexpectedly")
    	}
    
    	t.Logf("%s", output)
    
    	for _, line := range bytes.Split(output, []byte("\n")) {
    		if bytes.Contains(line, []byte("dynamic symbol")) && bytes.Contains(line, []byte("contains unsupported character")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    ! exec ./fuzz.test$GOEXE -test.fuzzcachedir=$GOCACHE/fuzz -test.fuzz=FuzzMinimizerNonrecoverableCrashInMinimization -test.run=^$ -test.fuzztime=10000x -test.parallel=1
    ! stdout '^ok'
    stdout -count=1 'fuzzing process hung or terminated unexpectedly while minimizing'
    stdout -count=1 'EOF'
    stdout FAIL
    # Check that the input written to testdata will reproduce the error.
    go run check_testdata/check_testdata.go FuzzMinimizerNonrecoverableCrashInMinimization 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            List<String> expected = new ArrayList<>();
            expected.add("maven-it-plugin-error");
            expected.add("maven-it-plugin-configuration");
            expected.add("maven-it-plugin-dependency-resolution");
            expected.add("maven-it-plugin-packaging");
            expected.add("maven-it-plugin-log-file");
            expected.add("maven-it-plugin-expression");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  5. src/crypto/tls/key_schedule.go

    	}
    	out := make([]byte, length)
    	n, err := hkdf.Expand(c.hash.New, secret, hkdfLabelBytes).Read(out)
    	if err != nil || n != length {
    		panic("tls: HKDF-Expand-Label invocation failed unexpectedly")
    	}
    	return out
    }
    
    // deriveSecret implements Derive-Secret from RFC 8446, Section 7.1.
    func (c *cipherSuiteTLS13) deriveSecret(secret []byte, label string, transcript hash.Hash) []byte {
    	if transcript == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/crypto/internal/hpke/hpke.go

    	labeledInfo = append(labeledInfo, info...)
    	out := make([]byte, length)
    	n, err := hkdf.Expand(kdf.hash.New, randomKey, labeledInfo).Read(out)
    	if err != nil || n != int(length) {
    		panic("hpke: LabeledExpand failed unexpectedly")
    	}
    	return out
    }
    
    // dhKEM implements the KEM specified in RFC 9180, Section 4.1.
    type dhKEM struct {
    	dh  ecdh.Curve
    	kdf hkdfKDF
    
    	suiteID []byte
    	nSecret uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. tests/integration/pilot/vm_test.go

    						t.Fatalf("WorkloadEntry was cleaned up unexpectedly")
    					}
    
    					currentPilot := entries[0].Annotations[annotation.IoIstioWorkloadController.Name]
    					if currentPilot == initialPilot || !strings.HasPrefix(currentPilot, "istiod-") {
    						disconnectProxy(t, currentPilot, autoVM)
    						return errors.New("expected WorkloadEntry to be updated by other pilot")
    					}
    					return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. pkg/registry/storage/csinode/strategy_test.go

    	ctx := genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{
    		APIGroup:   "storage.k8s.io",
    		APIVersion: "v1beta1",
    		Resource:   "csinodes",
    	})
    	Strategy.PrepareForCreate(ctx, obj)
    	if !reflect.DeepEqual(*expected, *obj) {
    		t.Errorf("Object mismatch! Expected:\n%#v\ngot:\n%#v", *expected, *obj)
    	}
    }
    
    func TestPrepareForUpdate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 09:24:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/edwards25519_test.go

    	if got := hex.EncodeToString(B.x.Bytes()); got != x {
    		t.Errorf("wrong B.x: got %s, expected %s", got, x)
    	}
    	if got := hex.EncodeToString(B.y.Bytes()); got != y {
    		t.Errorf("wrong B.y: got %s, expected %s", got, y)
    	}
    	if B.z.Equal(feOne) != 1 {
    		t.Errorf("wrong B.z: got %v, expected 1", B.z)
    	}
    	// Check that t is correct.
    	checkOnCurve(t, B)
    }
    
    func TestAddSubNegOnBasePoint(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if !apiequality.Semantic.DeepEqual(actual, expected) {
    		t.Errorf("expected %#v, got %#v", expected, actual)
    	}
    }
    
    func TestLimitedReadBody(t *testing.T) {
    	defer legacyregistry.Reset()
    	legacyregistry.Register(metrics.RequestBodySizes)
    
    	testcases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top