Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 273 for testcontainer (0.18 sec)

  1. pkg/kubelet/prober/prober_test.go

    				recorder: &record.FakeRecorder{},
    			}
    			testID := fmt.Sprintf("%d-%s", i, probeType)
    			testContainer := v1.Container{Env: test.env}
    			switch probeType {
    			case liveness:
    				testContainer.LivenessProbe = test.probe
    			case readiness:
    				testContainer.ReadinessProbe = test.probe
    			case startup:
    				testContainer.StartupProbe = test.probe
    			}
    			if test.execError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/MutationFailureFromRegisterDomainObjectContainerIntegrationTest.groovy

        def "cannot execute mutation method #mutationMethod.key from register"() {
            buildFile << """
                testContainer.register("a") {
                    ${mutationMethod.value}
                }.get()
            """
    
            expect:
            fails "help"
            failure.assertHasCause(disallowMutationMessage(mutationMethod.key))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/QueryAndMutateFromCreateDomainObjectContainerIntegrationTest.groovy

        def "can execute query and mutating methods #method.key from create(String)"() {
            buildFile << """
                testContainer.create("a") {
                    ${method.value}
                }
            """
            expect:
            succeeds "help"
            where:
            method << getQueryMethods() + getMutationMethods()
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/QueryAndMutateFromAllDomainObjectContainerIntegrationTest.groovy

    abstract class QueryAndMutateFromAllDomainObjectContainerIntegrationTest extends AbstractDomainObjectContainerIntegrationTest {
        def "can execute query and mutating methods #method.key from all"() {
            buildFile << """
                testContainer.all {
                    if (it.name == "realized") {
                        ${method.value}
                    }
                }
            """
    
            expect:
            succeeds "help"
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/QueryAndMutateFromGetByNameDomainObjectContainerIntegrationTest.groovy

        def "can execute query and mutation methods #method.key from getByName"() {
            buildFile << """
                testContainer.getByName("realized") {
                    ${method.value}
                }
            """
    
            expect:
            succeeds "help"
    
            where:
            method << getQueryMethods() + getMutationMethods()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/MutationFailureFromConfigureEachDomainObjectContainerIntegrationTest.groovy

        def "cannot execute mutation method #mutationMethod.key from configureEach"() {
            buildFile << """
                testContainer.configureEach {
                    ${mutationMethod.value}
                }
                toBeRealized.get()
            """
    
            expect:
            fails "help"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy

        CollectionCallbackActionDecorator collectionCallbackActionDecorator = CollectionCallbackActionDecorator.NOOP
        AbstractNamedDomainObjectContainer<TestObject> container = instantiator.newInstance(TestContainer.class, instantiator)
    
        def "is dynamic object aware"() {
            expect:
            container instanceof DynamicObjectAware
        }
    
        def "can create object by name"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 27 06:24:30 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  10. pkg/volume/util/subpath/subpath_linux_test.go

    			t.Errorf("test %q failed validation: %v", test.name, err)
    		}
    
    		os.RemoveAll(base)
    	}
    }
    
    var (
    	testVol       = "vol1"
    	testPod       = "pod0"
    	testContainer = "container0"
    	testSubpath   = 1
    )
    
    func setupFakeMounter(testMounts []string) *mount.FakeMounter {
    	mounts := []mount.MountPoint{}
    	for _, mountPoint := range testMounts {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
Back to top