Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for expectedNodes (0.34 sec)

  1. pkg/kubelet/pod/pod_manager_test.go

    	// Tests that all regular pods are recorded correctly.
    	actualPods := podManager.GetPods()
    	if len(actualPods) != len(expectedPods) {
    		t.Errorf("expected %d pods, got %d pods; expected pods %#v, got pods %#v", len(expectedPods), len(actualPods),
    			expectedPods, actualPods)
    	}
    	for _, expected := range expectedPods {
    		found := false
    		for _, actual := range actualPods {
    			if actual.UID == expected.UID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:27 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/interface_test.go

    	tests := []struct {
    		name              string
    		status            *Status
    		expectedCode      Code
    		expectedMessage   string
    		expectedIsSuccess bool
    		expectedIsWait    bool
    		expectedIsSkip    bool
    		expectedAsError   error
    	}{
    		{
    			name:              "success status",
    			status:            NewStatus(Success, ""),
    			expectedCode:      Success,
    			expectedMessage:   "",
    			expectedIsSuccess: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 22 04:41:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. pkg/apis/policy/validation/validation_test.go

    		expectErrForVersion: map[schema.GroupVersion]bool{
    			policy.SchemeGroupVersion:        expectNoErrors,
    			policyv1beta1.SchemeGroupVersion: expectNoErrors,
    		},
    	}, {
    		name: "ExpectedPods: 2",
    		pdbStatus: policy.PodDisruptionBudgetStatus{
    			ExpectedPods: 2,
    		},
    		expectErrForVersion: map[schema.GroupVersion]bool{
    			policy.SchemeGroupVersion:        expectNoErrors,
    			policyv1beta1.SchemeGroupVersion: expectNoErrors,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/policy.v1beta1.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. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
                }, this::asListHtml);
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/handler-utils_test.go

    		config.SetRegion(globalServerConfig, testCase.serverConfigRegion)
    		_, actualCode := parseLocationConstraint(testCase.request)
    		if testCase.expectedCode != actualCode {
    			t.Errorf("Test %d: Expected the APIErrCode to be %d, but instead found %d", i+1, testCase.expectedCode, actualCode)
    		}
    	}
    }
    
    // Tests validate metadata extraction from http headers.
    func TestExtractMetadataHeaders(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. pkg/registry/policy/poddisruptionbudget/storage/storage_test.go

    	if pdb.Spec.MinAvailable.IntValue() != 7 {
    		t.Errorf("we expected .spec.replicas to not be updated but it was updated to %v", pdb.Spec.MinAvailable)
    	}
    	if pdb.Status.ExpectedPods != 8 {
    		t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, pdb.Status.ExpectedPods)
    	}
    }
    
    func TestGet(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top