Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for TestNode (0.13 sec)

  1. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy

            }
        }
    
        private static class DelegateNode extends TestNode {
            private final List<TestNode> dependencies
            private Action<Node> monitor
    
            DelegateNode(String displayName, List<TestNode> dependencies) {
                super(displayName)
                this.dependencies = dependencies
                for (TestNode dep in dependencies) {
                    dep.addObserver {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. pkg/kubelet/network/dns/dns_test.go

    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    	}
    
    	recorder := record.NewFakeRecorder(20)
    	nodeRef := &v1.ObjectReference{
    		Kind:      "Node",
    		Name:      string("testNode"),
    		UID:       types.UID("testNode"),
    		Namespace: "",
    	}
    	testClusterDNSDomain := "TEST"
    
    	configurer := NewConfigurer(recorder, nodeRef, nil, nil, testClusterDNSDomain, "")
    
    	pod := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    			name:       "patch node when timeout",
    			lookupName: "testnode",
    			node: v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:   "testnode",
    					Labels: map[string]string{v1.LabelHostname: ""},
    				},
    			},
    			success:   false,
    			fakeError: apierrors.NewTimeoutError("fake timeout", -1),
    		},
    		{
    			name:       "patch node when conflict",
    			lookupName: "testnode",
    			node: v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. operator/cmd/mesh/manifest_shared_test.go

    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/net/http/request_test.go

    		b.Fatalf("Failed to copy %d bytes: %v", n, err)
    	}
    
    	run(b, func(b *testing.B, mode testMode) {
    		runFileAndServerBenchmarks(b, mode, f, n)
    	}, []testMode{http1Mode, https1Mode, http2Mode})
    }
    
    func runFileAndServerBenchmarks(b *testing.B, mode testMode, f *os.File, n int64) {
    	handler := HandlerFunc(func(rw ResponseWriter, req *Request) {
    		defer req.Body.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            // For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence
            toolingApi.requireDaemons()
            testCode()
        }
    
        boolean supportsEfficientClassFiltering() {
            return getTargetVersion() >= GradleVersion.version('4.7')
        }
    
        void launchTests(Collection<TestOperationDescriptor> testsToLaunch) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top