Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TestNode (0.68 sec)

  1. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		// Validate
    		if !scenario.shouldFail && err != nil {
    			t.Errorf("returned error: %v", err)
    		}
    		if scenario.shouldFail && err == nil {
    			t.Error("returned success but expected error")
    		}
    		checkReasons(t, reasons, scenario.reasons)
    		testEnv.validatePodCache(t, testNode.Name, scenario.pod, podVolumes, scenario.expectedBindings, nil)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K 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. src/net/http/client_test.go

    		`DELETE / "c308"`,
    		`DELETE /?code=404 "c404"`,
    	}
    	want := strings.Join(wantSegments, "\n")
    	run(t, func(t *testing.T, mode testMode) {
    		testRedirectsByMethod(t, mode, "DELETE", deleteRedirectTests, want)
    	})
    }
    
    func testRedirectsByMethod(t *testing.T, mode testMode, method string, table []redirectTest, want string) {
    	var log struct {
    		sync.Mutex
    		bytes.Buffer
    	}
    	var ts *httptest.Server
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. src/net/http/fs_test.go

    // in "Range": "bytes=-N", and should reject "bytes=--2".
    func TestServeFileRejectsInvalidSuffixLengths(t *testing.T) {
    	run(t, testServeFileRejectsInvalidSuffixLengths, []testMode{http1Mode, https1Mode, http2Mode})
    }
    func testServeFileRejectsInvalidSuffixLengths(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, FileServer(Dir("testdata"))).ts
    
    	tests := []struct {
    		r        string
    		wantCode int
    		wantBody string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
Back to top