Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for testcontainer (0.21 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		fakeSandBoxConfig, _ := m.generatePodSandboxConfig(testPod, 0)
    		testContainer.Lifecycle = cmdPostStart
    		fakePodStatus := &kubecontainer.PodStatus{
    			ContainerStatuses: []*kubecontainer.Status{
    				{
    					ID: kubecontainer.ContainerID{
    						Type: "docker",
    						ID:   testContainer.Name,
    					},
    					Name:      testContainer.Name,
    					State:     kubecontainer.ContainerStateCreated,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/defaults_test.go

    	for desc, tc := range map[string]struct {
    		testContainer        v1.Container
    		expectedResizePolicy []v1.ContainerResizePolicy
    	}{
    		"CPU and memory limits are specified": {
    			testContainer: v1.Container{
    				Resources: v1.ResourceRequirements{
    					Limits: v1.ResourceList{
    						v1.ResourceCPU:    resource.MustParse("100m"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/helpers_test.go

    func TestEvictonMessageWithResourceResize(t *testing.T) {
    	testpod := newPod("testpod", 1, []v1.Container{
    		newContainer("testcontainer", newResourceList("", "200Mi", ""), newResourceList("", "", "")),
    	}, nil)
    	testpod.Status = v1.PodStatus{
    		ContainerStatuses: []v1.ContainerStatus{
    			{
    				Name:               "testcontainer",
    				AllocatedResources: newResourceList("", "100Mi", ""),
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    	testPod1 := makePod("fakePod", "fakeContainer", "2", "2")
    	testContainer1 := &testPod1.Spec.Containers[0]
    	testPod2 := makePod("fakePod", "fakeContainer", "5", "5")
    	testContainer2 := &testPod2.Spec.Containers[0]
    	testPod3 := makePod("fakePod", "fakeContainer", "7", "7")
    	testContainer3 := &testPod3.Spec.Containers[0]
    	testPod4 := makePod("fakePod", "fakeContainer", "11", "11")
    	testContainer4 := &testPod4.Spec.Containers[0]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.InPlacePodVerticalScaling, true)
    	nowTime := time.Now()
    	testContainerName := "ctr0"
    	testContainerID := kubecontainer.ContainerID{Type: "test", ID: testContainerName}
    	testContainer := v1.Container{
    		Name:  testContainerName,
    		Image: "img",
    	}
    	testContainerStatus := v1.ContainerStatus{
    		Name: testContainerName,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. gradle/libs.versions.toml

    squareup-okio-nodefilesystem = { module = "com.squareup.okio:okio-nodefilesystem", version.ref = "com-squareup-okio" }
    testcontainers = { module = "org.testcontainers:testcontainers", version.ref = "testcontainers" }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 06 05:06:52 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    @PlexusTest
    @Deprecated
    class DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
                projectBuilder = getContainer().lookup(ProjectBuilder.class, "test");
            } else {
                // default over to the main project builder...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainerFactory.java

        private static final ModelType<DefaultTaskContainer> DEFAULT_TASK_CONTAINER_MODEL_TYPE = ModelType.of(DefaultTaskContainer.class);
        private static final ModelType<TaskContainer> TASK_CONTAINER_MODEL_TYPE = ModelType.of(TaskContainer.class);
        private static final ModelType<Task> TASK_MODEL_TYPE = ModelType.of(Task.class);
        private static final ModelReference<Task> TASK_MODEL_REFERENCE = ModelReference.of(TASK_MODEL_TYPE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top