Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for actualCert (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/erasure-object_test.go

    			}
    			_, actualErr := xl.DeleteObject(ctx, test.bucket, test.object, ObjectOptions{})
    			if test.expectedErr != nil && actualErr != test.expectedErr {
    				t.Errorf("Expected to fail with %s, but failed with %s", test.expectedErr, actualErr)
    			}
    			if test.expectedErr == nil && actualErr != nil {
    				t.Errorf("Expected to pass, but failed with %s", actualErr)
    			}
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    				}
    			}
    
    			actualErr := StaticPodControlPlane(
    				nil,
    				waiter,
    				pathMgr,
    				newcfg,
    				true,
    				true,
    				fakeTLSEtcdClient{
    					TLS: false,
    				},
    				fakePodManifestEtcdClient{
    					ManifestDir:     pathMgr.RealManifestDir(),
    					CertificatesDir: newcfg.CertificatesDir,
    				},
    			)
    			if (actualErr != nil) != rt.expectedErr {
    				t.Errorf(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    			}
    			claims := tc.claims
    			if claims == nil {
    				claims = claimList{}
    			}
    			actualResources, actualErr := newResourceModel(tCtx.Logger(), slices, claims, &inFlightAllocations)
    
    			if actualErr != nil {
    				if !tc.wantErr {
    					tCtx.Fatalf("unexpected error: %v", actualErr)
    				}
    				return
    			}
    			if tc.wantErr {
    				tCtx.Fatalf("did not get expected error")
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    	expectedErr := fmt.Errorf("deadline error")
    	tc = &tunnelingWebsocketUpgraderConn{conn: &mockConn{deadlineErr: expectedErr}}
    	expected = time.Now()
    	actualErr := tc.SetDeadline(expected)
    	assert.Equal(t, expectedErr, actualErr, "SetDeadline() expected error returned")
    	// Connection nil, returns nil error.
    	tc.conn = nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top