Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for minutes (0.11 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LeastRecentlyUsedCacheCleanupTest.groovy

            given:
            long now = System.currentTimeMillis()
            def cacheEntries = [
                createCacheEntry(now),
                createCacheEntry(now - TimeUnit.MINUTES.toMillis(15)),
                createCacheEntry(now - TimeUnit.HOURS.toMillis(5)),
            ]
    
            when:
            cleanupAction.clean(cleanableStore, progressMonitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                ByteArrayOutputStream stderr = connectStream(process.getErrorStream(), latch);
    
                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
                return new ExecResult(args, process.exitValue(), stdout.toString(), stderr.toString());
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/StagePasses.kt

                        dayOfWeek = ScheduleTrigger.DAY.Saturday
                        hour = 1
                    }
                } else {
                    schedulingPolicy = daily {
                        hour = 0
                        minute = 30
                    }
                }
                triggerBuild = always()
                withPendingChangesOnly = true
                param("revisionRule", "lastFinished")
                branchFilter = model.branch.branchFilter()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            <!--</module>-->
    
            <!-- Coding -->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:16 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                    @TaskAction def exec() {
                        output.text = duration.toString()
                    }
                }
    
                task myTask(type: MyTask) {
                    duration = Duration.ofMinutes(1)
                    output = project.file("build/output.txt")
                }
            """
    
            when:
            run ':myTask'
    
            then:
            executedAndNotSkipped ':myTask'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. build-logic/lifecycle/src/main/kotlin/gradlebuild.lifecycle.gradle.kts

    }
    
    fun determineTimeoutMillis() = when {
        isRequestedTask(compileAllBuild) || isRequestedTask(sanityCheck) || isRequestedTask(quickTest) -> Duration.ofMinutes(30).toMillis()
        isRequestedTask(smokeTest) -> Duration.ofHours(1).plusMinutes(30).toMillis()
        isRequestedTask(docsTest) -> Duration.ofMinutes(45).toMillis()
        else -> Duration.ofHours(2).plusMinutes(45).toMillis()
    }
    
    fun setupGlobalState() {
        if (needsToUseTestVersionsPartial()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:39:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

        companion object {
            const val IO_ACTION_TIMEOUT_SYSTEM_PROPERTY = "org.gradle.kotlin.dsl.internal.io.timeout"
            val DEFAULT_IO_ACTION_TIMEOUT = Duration.ofMinutes(1).toMillis()
        }
    
        override val ioActionTimeoutMs: Long by lazy {
            System.getProperty(IO_ACTION_TIMEOUT_SYSTEM_PROPERTY)
                .takeIf { !it.isNullOrBlank() }
                ?.let { property ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy

            given:
            file('files/one.txt').createFile()
            file('files/a/two.txt').createFile()
            file('files/b/ignore.txt').createFile()
            buildFile """
                def files = fileTree(dir: 'files').minus(fileTree(dir: 'files/b'))
                task copy(type: Copy) {
                    from files
                    into 'dest'
                }
            """
    
            when:
            run 'copy'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

            }
    
            String[] parentComponents = new String[components.length - 1];
            arraycopy(components, 0, parentComponents, 0, components.length - 1);
    
            // Same as the length of this, minus the last element, minus the dot between them
            int parentPathLength = path.length() - components[components.length - 1].length() - 1;
    
            return path(path.substring(0, parentPathLength), parentComponents);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy

            TestFileCollection collection1 = new TestFileCollection(file1, file2)
            TestFileCollection collection2 = new TestFileCollection(file2, file3)
    
            when:
            FileCollection difference = collection1.minus(collection2)
    
            then:
            difference.files == toLinkedSet(file1)
        }
    
        def "can subtract a collections using - operator"() {
            File file1 = new File("f1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top