Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for blocked (0.16 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    // activeQ is empty and waits until a new item is added to the queue. It
    // increments scheduling cycle when a pod is popped.
    func (p *PriorityQueue) Pop(logger klog.Logger) (*framework.QueuedPodInfo, error) {
    	p.lock.Lock()
    	defer p.lock.Unlock()
    	for p.activeQ.Len() == 0 {
    		// When the queue is empty, invocation of Pop() is blocked until new item is enqueued.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    				},
    				Result: simulation.Result{
    					// This request should be blocked
    					ClusterMatched: "BlackHoleCluster",
    				},
    			},
    			{
    				Name: "direct request to inbound port",
    				Call: simulation.Call{
    					Port:     15006,
    					Protocol: simulation.TCP,
    				},
    				Result: simulation.Result{
    					// This request should be blocked
    					ClusterMatched: "BlackHoleCluster",
    				},
    			},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    }
    
    // goroutineDeep blocks at stack depth n, including the caller until the test is
    // finished.
    func goroutineDeep(t *testing.T, n int) {
    	if n > 1 {
    		goroutineDeep(t, n-1)
    		return
    	}
    	wait := make(chan struct{}, 1)
    	t.Cleanup(func() {
    		wait <- struct{}{}
    	})
    	<-wait
    }
    
    // produceProfileEvents produces pprof events at the given stack depth and then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. plugin/pkg/admission/limitranger/admission_test.go

    	if err != nil {
    		t.Errorf("Should have ignored calls to any subresource of pod %v", err)
    	}
    
    	// a pod that is undergoing termination should never be blocked
    	terminatingPod := validPod("terminatingPod", 1, api.ResourceRequirements{})
    	now := metav1.Now()
    	terminatingPod.DeletionTimestamp = &now
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

    settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds....
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy_test.go

    				},
    			},
    			want: api.PodCondition{
    				Type:    api.PodScheduled,
    				Status:  api.ConditionFalse,
    				Reason:  apiv1.PodReasonSchedulingGated,
    				Message: "Scheduling is blocked due to non-empty scheduling gates",
    			},
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			Strategy.PrepareForCreate(genericapirequest.NewContext(), tt.pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  7. src/net/http/request.go

    		return value
    	}
    	return def
    }
    
    // NOTE: This is not intended to reflect the actual Go version being used.
    // It was changed at the time of Go 1.1 release because the former User-Agent
    // had ended up blocked by some intrusion detection systems.
    // See https://codereview.appspot.com/7532043.
    const defaultUserAgent = "Go-http-client/1.1"
    
    // Write writes an HTTP/1.1 request, which is the header and body, in wire format.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  8. src/crypto/tls/tls_test.go

    		t.Fatal(err)
    	}
    	keyPEM := pem.EncodeToMemory(&pem.Block{Type: "PRIVATE KEY", Bytes: keyDER})
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    	}
    	certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, key.Public(), key)
    	if err != nil {
    		t.Fatal(err)
    	}
    	certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certDER})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		if scenario.needsCapacity &&
    			csiDriver != nil && csiDriver.Spec.StorageCapacity != nil && *csiDriver.Spec.StorageCapacity {
    			// Without CSIStorageCapacity objects, provisioning is blocked.
    			expectedReasons = append(expectedReasons, ErrReasonNotEnoughSpace)
    			expectedProvisions = nil
    		}
    		checkReasons(t, reasons, expectedReasons)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(stream1.writeBytesMaximum)
          .isEqualTo(Settings.DEFAULT_INITIAL_WINDOW_SIZE.toLong())
    
        // Another stream should be able to send data even though 1 is blocked.
        val stream2 = connection.newStream(headerEntries("b", "banana"), true)
        val out2 = stream2.getSink().buffer()
        out2.writeUtf8("foo")
        out2.flush()
        assertThat(connection.writeBytesTotal)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top