Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for expectedIds (0.22 sec)

  1. pkg/volume/git_repo/git_repo_test.go

    	}
    
    	if fake.CommandCalls != len(expecteds) {
    		allErrs = append(allErrs,
    			fmt.Errorf("unexpected command calls in scenario: expected %d, saw: %d", len(expecteds), fake.CommandCalls))
    	}
    	var expectedCmds [][]string
    	for _, expected := range expecteds {
    		expectedCmds = append(expectedCmds, expected.cmd)
    	}
    	if !reflect.DeepEqual(expectedCmds, fcmd.CombinedOutputLog) {
    		allErrs = append(allErrs,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.PodDisruptionBudget.yaml

        observedGeneration: 3
        reason: reasonValue
        status: statusValue
        type: typeValue
      currentHealthy: 4
      desiredHealthy: 5
      disruptedPods:
        disruptedPodsKey: null
      disruptionsAllowed: 3
      expectedPods: 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. security/pkg/server/ca/authenticate/oidc_test.go

    		t.Fatalf("failed to generate JWT: %v", err)
    	}
    
    	tests := map[string]struct {
    		token      string
    		expectErr  bool
    		expectedID string
    	}{
    		"No bearer token": {
    			expectErr: true,
    		},
    		"Valid token": {
    			token:      token,
    			expectErr:  false,
    			expectedID: spiffe.MustGenSpiffeURIForTrustDomain("baz.svc.id.goog", "bar", "foo"),
    		},
    		"Expired token": {
    			token:     expiredToken,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1.PodDisruptionBudget.yaml

        observedGeneration: 3
        reason: reasonValue
        status: statusValue
        type: typeValue
      currentHealthy: 4
      desiredHealthy: 5
      disruptedPods:
        disruptedPodsKey: null
      disruptionsAllowed: 3
      expectedPods: 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1.PodDisruptionBudget.json

      },
      "status": {
        "observedGeneration": 1,
        "disruptedPods": {
          "disruptedPodsKey": null
        },
        "disruptionsAllowed": 3,
        "currentHealthy": 4,
        "desiredHealthy": 5,
        "expectedPods": 6,
        "conditions": [
          {
            "type": "typeValue",
            "status": "statusValue",
            "observedGeneration": 3,
            "lastTransitionTime": "2004-01-01T01:01:01Z",
            "reason": "reasonValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/conversion_test.go

    		t.Fatalf("service IP incorrect => %q, want %q", ips[0], ip)
    	}
    
    	actualIPs := service.ClusterVIPs.GetAddressesFor(clusterID)
    	expectedIPs := []string{ip}
    	if !reflect.DeepEqual(actualIPs, expectedIPs) {
    		t.Fatalf("service IPs incorrect => %q, want %q", actualIPs, expectedIPs)
    	}
    
    	if !reflect.DeepEqual(service.Attributes.LabelSelectors, localSvc.Spec.Selector) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/network_test.go

    		setGws(c.NetworkGateways())
    		notifyCh <- struct{}{}
    	})
    	expectGateways := func(t *testing.T, expectedGws int) {
    		// wait for a notification
    		assert.ChannelHasItem(t, notifyCh)
    		if n := len(getGws()); n != expectedGws {
    			t.Errorf("expected %d gateways but got %d", expectedGws, n)
    		}
    	}
    
    	t.Run("add meshnetworks", func(t *testing.T) {
    		addMeshNetworksFromRegistryGateway(t, c, meshNetworks)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

        }
    
        private static void verifyExpectedOps(List<BuildOperationRecord> ops, List<ExpectedOperation> expectedOps) {
            assert ops.size() == expectedOps.size()
            // no guarantees about listener execution order
            assert ops.find { op ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    )
    
    func verifyListPVs(t *testing.T, cache *PVAssumeCache, expectedPVs map[string]*v1.PersistentVolume, storageClassName string) {
    	pvList := cache.ListPVs(storageClassName)
    	if len(pvList) != len(expectedPVs) {
    		t.Errorf("ListPVs() returned %v PVs, expected %v", len(pvList), len(expectedPVs))
    	}
    	for _, pv := range pvList {
    		expectedPV, ok := expectedPVs[pv.Name]
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/policy/v1/types.go

    	DesiredHealthy int32 `json:"desiredHealthy" protobuf:"varint,5,opt,name=desiredHealthy"`
    
    	// total number of pods counted by this disruption budget
    	ExpectedPods int32 `json:"expectedPods" protobuf:"varint,6,opt,name=expectedPods"`
    
    	// Conditions contain conditions for PDB. The disruption controller sets the
    	// DisruptionAllowed condition. The following are known values for the reason field
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top