Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for TestNode (0.17 sec)

  1. pkg/controller/volume/attachdetach/statusupdater/node_status_updater_test.go

    			}
    		}
    	}
    }
    
    // TestNodeStatusUpdater_UpdateNodeStatusForNode calls setup
    // calls UpdateNodeStatusesForNode on testnode-1
    // check that asw.GetVolumesToReportAttached reports testnode-2 needs to be reported
    // checks that testnode-1 status.volumesAttached is of length 1 and contains the correct volume
    func TestNodeStatusUpdater_UpdateNodeStatusForNode(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/ToPlannedNodeConverterRegistryTest.groovy

                getSupportedNodeType() >> TestNode
            }
            def registry = new ToPlannedNodeConverterRegistry([testConverter])
    
            when:
            def foundConverter = registry.getConverter(new TestNode())
            then:
            foundConverter.is(testConverter)
    
            // verify caching works
            when:
            foundConverter = registry.getConverter(new TestNode())
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 17 13:57:29 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            @Override
            String toString() {
                return "TestNode($name)"
            }
        }
    
        static class TestTaskNode extends TestNode {
            TestTaskNode(String name) {
                super(name)
            }
        }
    
        static class TestTransformStepNode extends TestNode {
            TestTransformStepNode(String name) {
                super(name)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/defaultbinder/default_binder_test.go

    	testPod := st.MakePod().Name("foo").Namespace("ns").Obj()
    	testNode := "foohost.kubernetes.mydomain.com"
    	tests := []struct {
    		name        string
    		injectErr   error
    		wantBinding *v1.Binding
    	}{
    		{
    			name: "successful",
    			wantBinding: &v1.Binding{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "foo"},
    				Target:     v1.ObjectReference{Kind: "Node", Name: testNode},
    			},
    		}, {
    			name:      "binding error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 23 02:17:34 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelNodeInternalTest.groovy

        def "should have zero executed rules initially"() {
            expect:
            new TestNode(registration).getExecutedRules().size() == 0
        }
    
        def "should record executed rules when notify fired #fireCount time(s)"() {
            def descriptor = Mock(ModelRuleDescriptor)
            ModelNodeInternal modelNode = new TestNode(registration)
            def executionBinder = Mock(RuleBinder)
            executionBinder.isBound() >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RegistrySpec.groovy

        protected static class TestNode extends ModelNodeInternal {
            def links = []
    
            TestNode(String creationPath, Class<?> type) {
                super(null, ModelRegistrations.of(ModelPath.path(creationPath)).descriptor("test").build())
                addProjection(new UnmanagedModelProjection(ModelType.of(type)))
            }
    
            TestNode(ModelRegistration registration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pilot/pkg/security/authn/utils/utils_test.go

    		},
    	}
    	for i := range tests {
    		tt := &tests[i]
    		t.Run(tt.name, func(t *testing.T) {
    			testNode := &model.Proxy{
    				Labels: map[string]string{
    					"app": "foo",
    				},
    				Metadata: &model.NodeMetadata{},
    			}
    
    			got := BuildInboundTLS(model.MTLSStrict, testNode, networking.ListenerProtocolTCP, []string{}, tls.TlsParameters_TLSv1_2, &tt.mesh)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 10 20:24:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top