Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 84 for expectedly (0.55 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/crash_unix_test.go

    	if err == nil {
    		t.Error("test program succeeded unexpectedly")
    	} else if ee, ok := err.(*exec.ExitError); !ok {
    		t.Errorf("error (%v) has type %T; expected exec.ExitError", err, err)
    	} else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok {
    		t.Errorf("error.Sys (%v) has type %T; expected syscall.WaitStatus", ee.Sys(), ee.Sys())
    	} else if !ws.Signaled() || ws.Signal() != syscall.SIGTERM {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    }
    
    // assertWaypointAddressForPod takes a pod name for key and the expected waypoint IP Address
    // if the IP is empty we assume you're asserting that the pod's waypoint address is nil
    // will assert that the GW address for the pod's waypoint is the expected address
    // nolint: unparam
    func (s *ambientTestServer) assertWaypointAddressForPod(t *testing.T, key, expectedIP string) {
    	t.Helper()
    	var expectedAddress *workloadapi.GatewayAddress
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top