Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for TestNode (0.37 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    			"spec": map[string]interface{}{
    				"testSize": 10,
    			},
    		},
    	}
    	podObject := corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "foo",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "testnode",
    		},
    	}
    
    	nsObject := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "test",
    			Labels: map[string]string{
    				"env": "test",
    				"foo": "demo",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

            for (ClassNode testNode : outerClasses) {
                val = new ConstructedNestedClass(testNode, type.getName());
                if (resolveFromCompileUnit(val)) {
                    type.setRedirect(val);
                    return true;
                }
                // also check interfaces in case we have interfaces with nested classes
                for (ClassNode next : testNode.getAllInterfaces()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  3. pilot/pkg/security/authn/policy_applier_test.go

    		},
    	}
    
    	testNode := &model.Proxy{
    		Labels: map[string]string{
    			"app": "foo",
    		},
    		Metadata: &model.NodeMetadata{},
    	}
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := newPolicyApplier("root-namespace", nil, tc.peerPolicies, &model.PushContext{}).InboundMTLSSettings(
    				8080,
    				testNode,
    				[]string{},
    				NoOverride,
    			)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            return result
        }
    
        private static class TestNode extends CreationOrderedNode implements SelfExecutingNode {
            final Throwable failure
            final String name
            final List<Node> preExecuteNodes
            final List<Node> postExecuteNodes
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher_test.go

    		shouldFail          bool
    		watchTimeout        time.Duration
    	}{
    		{
    			name:       "test ok 1",
    			nodeName:   "testnode-01",
    			driverName: "testdriver-01",
    			volumeName: "testvol-01",
    			attachID:   getAttachmentName("testvol-01", "testdriver-01", "testnode-01"),
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "testdriver-01", "testvol-01"), false),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/framework_test.go

    	testCloseErrorPlugin              = "test-close-error-plugin"
    
    	testProfileName              = "test-profile"
    	testPercentageOfNodesToScore = 35
    	nodeName                     = "testNode"
    
    	injectReason       = "injected status"
    	injectFilterReason = "injected filter status"
    )
    
    // TestScoreWithNormalizePlugin implements ScoreWithNormalizePlugin interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	// Only testing HTTP/1, and our http2 server doesn't support hijacking.
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, true, mode, nil, "intentional death for testing")
    	}, []testMode{http1Mode})
    }
    
    func testHandlerPanic(t *testing.T, withHijack bool, mode testMode, wrapper func(Handler) Handler, panicValue any) {
    	// Direct log output to a pipe.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/net/http/clientserver_test.go

    	"net/url"
    	"os"
    	"reflect"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    type testMode string
    
    const (
    	http1Mode  = testMode("h1")     // HTTP/1.1
    	https1Mode = testMode("https1") // HTTPS/1.1
    	http2Mode  = testMode("h2")     // HTTP/2
    )
    
    type testNotParallelOpt struct{}
    
    var (
    	testNotParallel = testNotParallelOpt{}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  9. src/net/http/transport_test.go

    // Two subsequent requests and verify their response is the same.
    // The response from the server is our own IP:port
    func TestTransportKeepAlives(t *testing.T) { run(t, testTransportKeepAlives, []testMode{http1Mode}) }
    func testTransportKeepAlives(t *testing.T, mode testMode) {
    	ts := newClientServerTest(t, mode, hostPortHandler).ts
    
    	c := ts.Client()
    	for _, disableKeepAlive := range []bool{false, true} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  10. src/net/http/responsecontroller_test.go

    	"fmt"
    	"io"
    	. "net/http"
    	"os"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestResponseControllerFlush(t *testing.T) { run(t, testResponseControllerFlush) }
    func testResponseControllerFlush(t *testing.T, mode testMode) {
    	continuec := make(chan struct{})
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		ctl := NewResponseController(w)
    		w.Write([]byte("one"))
    		if err := ctl.Flush(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top