Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for triggerFile (0.28 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/test/fixtures/TestDeploymentFixture.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    class TestDeploymentFixture {
        private File triggerFile
        private File keyFile
    
        void writeToProject(TestFile projectDir) {
            triggerFile = projectDir.file('triggerFile')
            keyFile = projectDir.file('keyFile')
    
            triggerFile.text = "0"
    
            projectDir.file("build.gradle") << """
                import javax.inject.Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 26 00:54:23 UTC 2019
    - 4.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/DeploymentHandleContinuousBuildCrossVersionSpec.groovy

                fixture.assertDeploymentIsRunning(key)
    
                waitBeforeModification fixture.triggerFile
                fixture.triggerFile << "\n#a change"
                succeeds()
                fixture.assertDeploymentIsRunning(key)
    
                waitBeforeModification fixture.triggerFile
                fixture.triggerFile << "\n#another change"
                succeeds()
                fixture.assertDeploymentIsRunning(key)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSessionServiceReuseContinuousIntegrationTest.groovy

                        idFile << System.identityHashCode(service) + "\\n"
                    }
                }
            """
    
            when:
            triggerFile << "content"
    
            then:
            succeeds("captureService")
    
            when:
            triggerFile << "change"
    
            then:
            buildTriggeredAndSucceeded()
    
            and:
            def ids = idFile.readLines()
            ids.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/DeploymentContinuousBuildIntegrationTest.groovy

            then:
            def key = fixture.keyFile.text
            fixture.assertDeploymentIsRunning(key)
    
            when:
            def lastBuildTime = single(buildTimes)
            waitBeforeModification fixture.triggerFile
            fixture.triggerFile << "\n#a change"
            buildTriggeredAndSucceeded()
    
            then:
            fixture.assertDeploymentIsRunning(key)
            lastBuildTime >= single(buildTimes)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            given:
            def targetDir = tmpDir.createDir("target")
            def triggerFile = targetDir.createFile("zzz.txt")
            FileTime.makeOld(targetDir, triggerFile)
    
            and:
            def newFile = targetDir.file("aaa.txt")
            deleter = FileTime.deleterWithDeletionAction() { file ->
                if (file.canonicalFile == triggerFile.canonicalFile) {
                    FileTime.createNewFile(newFile)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. pkg/controller/tainteviction/taint_eviction.go

    		return
    	}
    
    	startTime := now
    	triggerTime := startTime.Add(minTolerationTime)
    	scheduledEviction := tc.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String())
    	if scheduledEviction != nil {
    		startTime = scheduledEviction.CreatedAt
    		if startTime.Add(minTolerationTime).Before(triggerTime) {
    			return
    		}
    		tc.cancelWorkWithEvent(logger, podNamespacedName)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. pkg/controller/endpointslicemirroring/utils_test.go

    				},
    				Ports:       ports,
    				AddressType: addrType,
    				Endpoints:   []discovery.Endpoint{},
    			},
    		},
    		{
    			name: "create slice from endpoints with labels and annotations triggertime",
    			tweakEndpoint: func(ep *v1.Endpoints) {
    				labels := map[string]string{"foo": "bar"}
    				ep.Labels = labels
    				annotations := map[string]string{
    					"foo2":                            "bar2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. SECURITY.md

      - A description of the technical details of the vulnerabilities.
      - A minimal example of the vulnerability. It is very important to let us know
        how we can reproduce your findings. For memory corruption triggerable in
        TensorFlow models, please demonstrate an exploit against one of Alphabet's
        models in <https://tfhub.dev/>
      - An explanation of who can exploit this vulnerability, and what they gain
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 01 06:06:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller_test.go

    )
    
    var alwaysReady = func() bool { return true }
    var neverReady = func() bool { return false }
    var emptyNodeName string
    var triggerTime = time.Date(2018, 01, 01, 0, 0, 0, 0, time.UTC)
    var triggerTimeString = triggerTime.Format(time.RFC3339Nano)
    var oldTriggerTimeString = triggerTime.Add(-time.Hour).Format(time.RFC3339Nano)
    
    var ipv4only = []v1.IPFamily{v1.IPv4Protocol}
    var ipv6only = []v1.IPFamily{v1.IPv6Protocol}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. pkg/proxy/endpointschangetracker_test.go

    	t3 := t2.Add(time.Second)
    
    	createEndpoints := func(namespace, name string, triggerTime time.Time) *discovery.EndpointSlice {
    		return &discovery.EndpointSlice{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      name,
    				Namespace: namespace,
    				Annotations: map[string]string{
    					v1.EndpointsLastChangeTriggerTime: triggerTime.Format(time.RFC3339Nano),
    				},
    				Labels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
Back to top