Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 866 for broken2 (0.12 sec)

  1. platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/kotlin/build.gradle.kts

    tasks.register("ok")
    
    tasks.register("broken") {
        dependsOn("ok")
        doLast {
            throw RuntimeException("broken")
        }
    }
    
    gradle.taskGraph.beforeTask {
        println("executing $this ...")
    }
    
    gradle.taskGraph.afterTask {
        if (state.failure != null) {
            println("FAILED")
        } else {
            println("done")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 333 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    }
    
    // newAdmissionMetrics create a new AdmissionMetrics, configured with default metric names.
    func newAdmissionMetrics() *AdmissionMetrics {
    	// Admission metrics for a step of the admission flow. The entire admission flow is broken down into a series of steps
    	// Each step is identified by a distinct type label value.
    	// Use buckets ranging from 5 ms to 2.5 seconds.
    	step := &metricSet{
    		latencies: metrics.NewHistogramVec(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

        }
    
        def "reports command-line parse failure"() {
            when:
            def commandLineExecution = factory.convert(['--broken'])
            commandLineExecution.execute(executionListener)
    
            then:
            outputs.stdErr.contains('--broken')
            outputs.stdErr.contains('USAGE: gradle [option...] [task...]')
            outputs.stdErr.contains('--help')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy

            """.stripIndent()
        }
    
        def doesNotRunStaleTests() {
            given:
            file('src/test/java/Broken.java') << """
                ${testFrameworkImports}
                public class Broken {
                    @Test
                    public void broken() {
                        throw new RuntimeException("broken");
                    }
                }
            """.stripIndent()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy

        @Test
        void compilationFailureBreaksBuild() {
            TestFile buildFile = testFile("build.gradle")
            buildFile.writelns("apply plugin: 'java'")
            testFile("src/main/java/org/gradle/broken.java") << "broken"
    
            ExecutionFailure failure = executer.withTasks("build").runWithFailure()
    
            failure.assertHasDescription("Execution failed for task ':compileJava'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/BrokenSymlinkNormalizationStrategyTest.groovy

            strategy << allFingerprintingStrategies
            strategyName = getStrategyName(strategy)
        }
    
        def "non-root broken symlink is fingerprinted as missing for #strategyName"() {
            given:
            def root = file('root')
            root.mkdirs()
            def brokenSymlink = root.file('broken-symlink')
            brokenSymlink.createLink(file('non-existing'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    			Help:           "Authentication duration in seconds broken out by result.",
    			Buckets:        metrics.ExponentialBuckets(0.001, 2, 15),
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"result"},
    	)
    
    	authorizationAttemptsCounter = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Name:           "authorization_attempts_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. docs/bucket/notifications/README.md

    ```
    KEY:
    notify_kafka[:name]  publish bucket notifications to Kafka endpoints
    
    ARGS:
    brokers*         (csv)       comma separated list of Kafka broker addresses
    topic            (string)    Kafka topic used for bucket notifications
    sasl_username    (string)    username for SASL/PLAIN or SASL/SCRAM authentication
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/groovy/build.gradle

                        if (selection.candidate.group == 'org.sample' && selection.candidate.module == 'api' && selection.candidate.version == '1.5') {
                            selection.reject("version 1.5 is broken for 'org.sample:api'")
                        }
                    }
                }
            }
        }
    }
    
    dependencies {
        rejectConfig "org.sample:api:1.+"
    }
    // end::reject-version-1-1[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-selectionRule/kotlin/build.gradle.kts

                    all {
                        if (candidate.group == "org.sample" && candidate.module == "api" && candidate.version == "1.5") {
                            reject("version 1.5 is broken for 'org.sample:api'")
                        }
                    }
                }
            }
        }
    }
    
    dependencies {
        "rejectConfig"("org.sample:api:1.+")
    }
    // end::reject-version-1-1[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top