- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,625 for container1 (0.28 sec)
-
pkg/kubelet/stats/cri_stats_provider_test.go
sandbox0, sandbox1, sandbox2, sandbox3, sandbox4, sandbox5, sandbox6, }) fakeRuntimeService.SetFakeContainers([]*critest.FakeContainer{ container0, container1, container2, container3, container4, container5, container6, container7, container8, container9, }) fakeRuntimeService.SetFakeContainerStats([]*runtimeapi.ContainerStats{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy
def container = new DefaultMutableAttributeContainer(attributesFactory) then: container.empty container.keySet().empty !container.contains(thing) container.getAttribute(thing) == null when: container.attribute(thing, "thing") then: !container.empty container.keySet() == [thing] as Set container.contains(thing)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 08 14:34:28 UTC 2023 - 15.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go
for pod := range tc.assignments { for container, set := range tc.assignments[pod] { state.SetCPUSet(pod, container, set) if cpus, _ := state.GetCPUSet(pod, container); !cpus.Equals(set) { t.Fatalf("state inconsistent, got %q instead of %q", set, cpus) } state.Delete(pod, container) if _, ok := state.GetCPUSet(pod, container); ok { t.Fatal("deleted container still existing in state") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static_test.go
hugepages1Gi: 4 * gb, }, }, { description: "maximum resources of init containers > total resources of long running containers, including restartable init containers", pod: getPodWithInitContainers( "", []v1.Container{ { Name: "container1", Resources: v1.ResourceRequirements{ Requests: v1.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 05:49:15 UTC 2023 - 100.4K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go
for pod := range tc.assignments { for container, blocks := range tc.assignments[pod] { state.SetMemoryBlocks(pod, container, blocks) assert.Equal(t, blocks, state.GetMemoryBlocks(pod, container), "memory block inconsistent") state.Delete(pod, container) assert.Nil(t, state.GetMemoryBlocks(pod, container), "deleted container still existing in state") } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 10.6K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 17 16:53:28 UTC 2023 - 20.4K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/state/state_test.go
package state import ( "reflect" "testing" "k8s.io/utils/cpuset" ) func TestClone(t *testing.T) { expect := ContainerCPUAssignments{ "pod": map[string]cpuset.CPUSet{ "container1": cpuset.New(4, 5, 6), "container2": cpuset.New(1, 2, 3), }, } actual := expect.Clone() if &expect == &actual || !reflect.DeepEqual(expect, actual) { t.Fail() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 935 bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
if err := validateDirNotExists(filepath.Join(path, "container1")); err != nil { return err } return validateFileExists(filepath.Join(path, "container2")) }, expectError: true, }, { name: "subpath-mount", prepare: func(base string) ([]mount.MountPoint, error) { path := filepath.Join(base, containerSubPathDirectoryName, testVol, "container1", "0")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaStoreTest.groovy
when: def cl = new GroovyClassLoader() addClass(cl, "@${Managed.name} interface Thing {}") addClass(cl, "@${Managed.name} interface Container1 { ${ModelSet.name}<Thing> getThings() }") addClass(cl, "@${Managed.name} interface Container2 { ${ModelSet.name}<Thing> getThings() }") then: store.cache.size() == 4 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_linux_test.go
} assert.Equal(t, tc.expectedMounts, mounts, "mounts of container %+v", tc.container) }) } } func TestMakeBlockVolumes(t *testing.T) { testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */) defer testKubelet.Cleanup() kubelet := testKubelet.kubelet testCases := map[string]struct { container v1.Container podVolumes kubecontainer.VolumeMap expectErr bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 18:00:59 UTC 2024 - 11.3K bytes - Viewed (0)