Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testWorkingDir (0.25 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy

        def "WorkerProcessBuilder handles workingDir with absolute path length #absolutePathLength"() {
            when:
            def testWorkingDir = generateTestWorkingDirectory(absolutePathLength)
            then:
            assert testWorkingDir.exists()
            execute(worker(new HelloWorldRemoteProcess(), testWorkingDir))
            where:
            absolutePathLength << [258, 259, 260]
        }
    
        @Requires(UnitTestPreconditions.NotWindows)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

            def testWorkingDir = testDirectory.createDir("$alphanumeric")
    
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
                test.${configureTestFramework}
                test.workingDir = "${testWorkingDir.toURI()}"
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/security_context_others_test.go

    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    					ImagePullPolicy: v1.PullIfNotPresent,
    					Command:         []string{"testCommand"},
    					WorkingDir:      "testWorkingDir",
    				},
    			},
    		},
    	}
    
    	rootUser := int64(0)
    	anyUser := int64(1000)
    	runAsNonRootTrue := true
    	runAsNonRootFalse := false
    	for _, test := range []struct {
    		desc     string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 10:06:54 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/security_context_windows_test.go

    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "windows",
    					ImagePullPolicy: v1.PullIfNotPresent,
    					Command:         []string{"testCommand"},
    					WorkingDir:      "testWorkingDir",
    				},
    			},
    		},
    	}
    	rootUser := "ContainerAdministrator"
    	rootUserUppercase := "CONTAINERADMINISTRATOR"
    	anyUser := "anyone"
    	runAsNonRootTrue := true
    	runAsNonRootFalse := false
    	uid := int64(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 02:29:11 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    					ImagePullPolicy: v1.PullIfNotPresent,
    					Command:         []string{"testCommand"},
    					WorkingDir:      "testWorkingDir",
    					Resources:       resources,
    					SecurityContext: &v1.SecurityContext{
    						WindowsOptions: &v1.WindowsSecurityContextOptions{
    							GMSACredentialSpecName: &gmsaCredSpecName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    					ImagePullPolicy: v1.PullIfNotPresent,
    					Command:         []string{"testCommand"},
    					WorkingDir:      "testWorkingDir",
    					SecurityContext: &v1.SecurityContext{
    						RunAsUser:  &runAsUser,
    						RunAsGroup: &runAsGroup,
    					},
    				},
    			},
    		},
    	}
    
    	expectedConfig := makeExpectedConfig(m, pod, 0, false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			Containers: []v1.Container{
    				{
    					Name:            "foo",
    					Image:           "busybox",
    					ImagePullPolicy: v1.PullIfNotPresent,
    					Command:         []string{"testCommand"},
    					WorkingDir:      "testWorkingDir",
    				},
    			},
    		},
    	}
    
    	testLifeCycleHook(t, testPod, &testPod.Spec.Containers[0])
    }
    
    func TestLifeCycleHookForRestartableInitContainer(t *testing.T) {
    	testPod := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top