- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for TestNode (0.19 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
cni/pkg/nodeagent/cni-watcher_test.go
valid := CNIPluginAddEvent{ Netns: "/var/netns/foo", PodName: "pod-bingo", PodNamespace: "funkyns", IPs: []IPConfig{{ Address: *addr, }}, } setupLogging() NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy
0 * listener1.onDiscovered(_) 0 * listener2.onDiscovered(_) } def node(String path, Class<?> type = String, State state = State.Discovered) { def node = new TestNode(path, type) node.setState(state) return node } def root() { return node("", Void, State.Created) } private ModelListener allAcceptingListener() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.8K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/ResolvedGeneratedJarsIntegrationTest.groovy
} @ToBeFixedForConfigurationCache(because = "testkit jar generated eagerly") def "gradle testkit jar is generated only when requested"() { setup: testCode() def version = distribution.version.version def generatedJarsDirectory = "user-home/caches/$version/generated-gradle-jars" when: succeeds("classes") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3K bytes - Viewed (0)