Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for actualCert (0.2 sec)

  1. pilot/pkg/credentials/kube/secrets_test.go

    			var actualKey []byte
    			var actualCert []byte
    			if certInfo != nil {
    				actualKey = certInfo.Key
    				actualCert = certInfo.Cert
    			}
    			if tt.key != string(actualKey) {
    				t.Errorf("got key %q, wanted %q", string(actualKey), tt.key)
    			}
    			if tt.cert != string(actualCert) {
    				t.Errorf("got cert %q, wanted %q", string(actualCert), tt.cert)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    		objInfo, actualErr := obj.PutObject(context.Background(), testCase.bucketName, testCase.objName, in, ObjectOptions{UserDefined: testCase.inputMeta})
    		if actualErr != nil && testCase.expectedError == nil {
    			t.Errorf("Test %d: %s: Expected to pass, but failed with: error %s.", i, instanceType, actualErr.Error())
    			continue
    		}
    		if actualErr == nil && testCase.expectedError != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/generic_test.go

    		{pod: pods[1], status: &kubecontainer.PodStatus{}, error: statusErr},
    	}
    	for i, c := range cases {
    		testStr := fmt.Sprintf("test[%d]", i)
    		actualStatus, actualErr := pleg.cache.Get(c.pod.ID)
    		assert.Equal(t, c.status, actualStatus, testStr)
    		assert.Equal(t, c.error, actualErr, testStr)
    	}
    	// pleg should not generate any event for pods[1] because of the error.
    	assert.Exactly(t, []*PodLifecycleEvent{events[0]}, actualEvents)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/deleted_kinds_test.go

    			expectedErr: `strconv.ParseInt: parsing "20something": invalid syntax`,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			actual, actualErr := NewResourceExpirationEvaluator(tt.currentVersion)
    
    			checkErr(t, actualErr, tt.expectedErr)
    			if actualErr != nil {
    				return
    			}
    
    			actual.(*resourceExpirationEvaluator).strictRemovedHandlingInAlpha = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/staticpod/utils_test.go

    				}
    			}
    
    			_, actualErr := ReadStaticPodFromDisk(manifestPath)
    			if (actualErr != nil) != rt.expectErr {
    				t.Errorf(
    					"ReadStaticPodFromDisk failed\n%s\n\texpected error: %t\n\tgot: %t\n\tactual error: %v",
    					rt.description,
    					rt.expectErr,
    					(actualErr != nil),
    					actualErr,
    				)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    	}
    	actualErr, ok := actualEvent.Object.(*metav1.Status)
    	if !ok {
    		t.Fatalf("Expected *apierrors.StatusError, got: %#v", actualEvent.Object)
    	}
    
    	if actualErr.Details.RetryAfterSeconds <= 0 {
    		t.Fatalf("RetryAfterSeconds must be > 0, actual value: %v", actualErr.Details.RetryAfterSeconds)
    	}
    	// rewrite the Details as it contains retry seconds
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (1)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

        }
    
        @Override
        public ExecutionResult assertContentContains(String actualText, String expectedOutput, String label) {
            String expectedText = LogContent.of(expectedOutput).withNormalizedEol();
            if (!actualText.contains(expectedText)) {
                if (!expectedText.contains("\n")) {
                    Arrays.stream(actualText.split("\n"))
                        // Measure Levenshtein distance for each line
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

                val actualText = when (result) {
                    is KaCompilationResult.Failure -> result.errors.joinToString("\n") { dumpDiagnostic(it) }
                    is KaCompilationResult.Success -> dumpClassFiles(result.output)
                }
    
                testServices.assertions.assertEqualsToTestDataFileSibling(actualText)
    
                if (result is KaCompilationResult.Success) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/compute_test.go

    			actualUpgrades, actualErr := GetAvailableUpgrades(rt.vg, rt.allowExperimental, rt.allowRCs, client, &output.TextPrinter{})
    			if diff := cmp.Diff(rt.expectedUpgrades, actualUpgrades); len(diff) > 0 {
    				t.Errorf("failed TestGetAvailableUpgrades\n\texpected upgrades:\n%v\n\tgot:\n%v\n\tdiff:\n%v", rt.expectedUpgrades, actualUpgrades, diff)
    			}
    			if rt.errExpected && actualErr == nil {
    				t.Error("unexpected success")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers_test.go

    			expectedAPIErr: toAPIErrorCode(GlobalContext, errDiskNotFound),
    		},
    	}
    
    	for i, test := range testCases {
    		actualErr := toAdminAPIErrCode(GlobalContext, test.err)
    		if actualErr != test.expectedAPIErr {
    			t.Errorf("Test %d: Expected %v but received %v",
    				i+1, test.expectedAPIErr, actualErr)
    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top