Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for race (0.29 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    	// as there are no synchronisation events in that function (no locks, no channels, ...) each test routine
    	// should have its own vector clock increased independently. Golang race detector uses pure happens-before
    	// detection, so would catch a race condition consistently, despite only spawning 2 goroutines
    	for i := 0; i < 2; i++ {
    		go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/horizontal_test.go

    // From now on, the HPA controller does have history in it (scaleUpEvents, scaleDownEvents)
    // Hence the second HPA controller reconcile cycle might return different result (comparing with the first run).
    // Current test infrastructure has a race condition, when several reconcile cycles will be performed
    //    while it should be stopped right after the first one. And the second will raise an exception
    //    because of different result.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_generator.go

    	// This would avoid exponential back-off and creation of goroutine unnecessarily. We still
    	// verify status of attached volume by directly reading from API server later on.This is necessarily
    	// to ensure any race conditions because of cached state in the informer.
    	if volumeToMount.PluginIsAttachable {
    		cachedAttachedVolumes, _ := og.volumePluginMgr.Host.GetAttachedVolumesFromNodeStatus()
    		if cachedAttachedVolumes != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		t.Errorf("Unexpected error: %v", err)
    	}
    }
    
    // TestGracefulStoreCanDeleteIfExistingGracePeriodZero tests recovery from
    // race condition where the graceful delete is unable to complete
    // in prior operation, but the pod remains with deletion timestamp
    // and grace period set to 0.
    func TestGracefulStoreCanDeleteIfExistingGracePeriodZero(t *testing.T) {
    	deletionTimestamp := metav1.NewTime(time.Now())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/img/build-cache/cache-admin-hit-rate.png

    cache-admin-hit-rate.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 98.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	"reflect"
    	goruntime "runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    
    	sdktrace "go.opentelemetry.io/otel/sdk/trace"
    	"go.opentelemetry.io/otel/sdk/trace/tracetest"
    	oteltrace "go.opentelemetry.io/otel/trace"
    	noopoteltrace "go.opentelemetry.io/otel/trace/noop"
    
    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	cadvisorapiv2 "github.com/google/cadvisor/info/v2"
    	"github.com/stretchr/testify/assert"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun canceledBeforeResponseReadSignalsOnFailure_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
        canceledBeforeResponseReadSignalsOnFailure()
      }
    
      /**
       * There's a race condition where the cancel may apply after the stream has already been
       * processed.
       */
      @Test
      fun canceledAfterResponseIsDeliveredBreaksStreamButSignalsOnce() {
        server.enqueue(MockResponse(body = "A"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// Block 1: Testing for racy access
    	// The assertion is removed from this block since the purpose of this block is to find races
    	// The purpose this block is not to check for correctness of functionality
    	// Run the test with -race flag to utilize this
    	var wg sync.WaitGroup
    	for i := 0; i < testConcurrencyLevel; i++ {
    		wg.Add(1)
    		go func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

       *
       * The Least Recently Used page replacement algorithm was chosen due to its simplicity, high hit
       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top