- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,813 for successes (0.23 sec)
-
pkg/test/util/retry/retry.go
} result, completed, err := fn() attempts++ if completed { if err == nil { successes++ } else { successes = 0 } if successes >= cfg.converge { return result, err } // Skip delay if we have a success continue } successes = 0 if err != nil { scope.Debugf("encountered an error on attempt %d: %v", attempts, err) lasterr = err
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/security/mock.go
} } type FakeAuthenticator struct { AllowedToken string AllowedCert string Name string Successes *atomic.Int32 Failures *atomic.Int32 mu sync.Mutex } func NewFakeAuthenticator(name string) *FakeAuthenticator { return &FakeAuthenticator{ Name: name, Successes: atomic.NewInt32(0), Failures: atomic.NewInt32(0), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/metrics/metrics_test.go
# TYPE apiserver_encryption_config_controller_automatic_reloads_total counter apiserver_encryption_config_controller_automatic_reloads_total {apiserver_id_hash="sha256:14f9d63e669337ac6bfda2e2162915ee6a6067743eddd4e5c374b572f951ff37",status="success"} 1 ` metricNames := []string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 13 05:47:46 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/tier_test.go
switch metric.Description.Name { case tierRequestsSuccess: succ += metric.Value case tierRequestsFailure: fail += metric.Value } } if int(succ) != expSuccess { t.Fatalf("Expected %d successes but got %f", expSuccess, succ) } if int(fail) != expFailure { t.Fatalf("Expected %d failures but got %f", expFailure, fail) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Dec 21 04:13:40 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/test/framework/components/echo/util/traffic/result.go
return float64(r.SuccessfulRequests) / float64(r.TotalRequests) } // CheckSuccessRate asserts that a minimum success threshold was met. func (r Result) CheckSuccessRate(t test.Failer, minimumPercent float64) { if r.PercentSuccess() < minimumPercent { t.Fatalf("Minimum success threshold, %f, was not met. %d/%d (%f) requests failed: %v", minimumPercent, r.SuccessfulRequests, r.TotalRequests, r.PercentSuccess(), r.Error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 12 22:50:35 UTC 2022 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/metrics/metrics.go
apiServerIDHash := getHash(apiServerID) encryptionConfigAutomaticReloadsTotal.WithLabelValues("success", apiServerIDHash).Inc() deprecatedEncryptionConfigAutomaticReloadSuccessTotal.WithLabelValues(apiServerIDHash).Inc() recordEncryptionConfigAutomaticReloadTimestamp("success", apiServerIDHash) } func recordEncryptionConfigAutomaticReloadTimestamp(result, apiServerIDHash string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 13 05:47:46 UTC 2024 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go
# TYPE apiserver_encryption_config_controller_automatic_reloads_total counter apiserver_encryption_config_controller_automatic_reloads_total{apiserver_id_hash="sha256:cd8a60cec6134082e9f37e7a4146b4bc14a0bf8a863237c36ec8fdb658c3e027",status="success"} 1 ` const expectedFailureMetricValue = `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h
* occurs during the run, the action depends on the current error * action (see CU_set_error_action()). An inactive suite is not * considered an error for this function. Note that the run * statistics (counts of tests, successes, failures) are cleared * each time this function is run, even if it is unsuccessful. * * @return A CU_ErrorCode indicating the first error condition * encountered while running the tests.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 22K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
errCh <- err } }(j) j++ } wg.Wait() successes += batchSize - len(errCh) close(errCh) if len(errCh) > 0 { errs := make([]error, 0) for err := range errCh { errs = append(errs, err) } return successes, utilerrors.NewAggregate(errs) } remaining -= batchSize } return successes, nil } type replicaStatus struct { replicas int32
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set.go
if err := fn(); err != nil { errCh <- err } }() } wg.Wait() curSuccesses := batchSize - len(errCh) successes += curSuccesses if len(errCh) > 0 { return successes, <-errCh } remaining -= batchSize } return successes, nil } // getIndirectlyRelatedPods returns all pods that are owned by any ReplicaSet // that is owned by the given ReplicaSet's owner.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.2K bytes - Viewed (0)