Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for race (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/go/internal/work/exec.go

    			desc := "Executing action (" + a.Mode
    			if a.Package != nil {
    				desc += " " + a.Package.Desc()
    			}
    			desc += ")"
    			ctx, span := trace.StartSpan(ctx, desc)
    			a.traceSpan = span
    			for _, d := range a.Deps {
    				trace.Flow(ctx, d.traceSpan, a.traceSpan)
    			}
    			err = a.Actor.Act(b, ctx, a)
    			span.Done()
    		}
    		if a.json != nil {
    			a.json.TimeDone = time.Now()
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  10. src/reflect/value.go

    	a := make([]Value, mlen)
    	var i int
    	for i = 0; i < len(a); i++ {
    		key := mapiterkey(&it)
    		if key == nil {
    			// Someone deleted an entry from the map since we
    			// called maplen above. It's a data race, but nothing
    			// we can do about it.
    			break
    		}
    		a[i] = copyVal(keyType, fl, key)
    		mapiternext(&it)
    	}
    	return a[:i]
    }
    
    // hiter's structure matches runtime.hiter's structure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top