Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for broken1 (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy

            when:
            executer.withArgument("--continue")
            fails("broken1", "broken2", "broken3")
    
            then:
            failure.assertHasCause("Cannot call ${description} on task ':broken1' after task has started execution.")
            failure.assertHasCause("Cannot call ${description} on task ':broken2' after task has started execution.")
    
            where:
            config                                                      | description
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            def runnable1 = {
                instant.broken1
                throw failure1
            }
    
            def failure2 = new RuntimeException()
            def runnable2 = {
                instant.broken2
                throw failure2
            }
    
            when:
            def executor = factory.create('test')
            executor.execute(runnable1)
            thread.blockUntil.broken1
            thread.block()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. internal/event/target/kafka.go

    	config.Metadata.Retry.Backoff = (1 * time.Second)
    	config.Metadata.RefreshFrequency = (15 * time.Minute)
    
    	target.config = config
    
    	brokers := []string{}
    	for _, broker := range args.Brokers {
    		brokers = append(brokers, broker.String())
    	}
    
    	client, err := sarama.NewClient(brokers, config)
    	if err != nil {
    		if !errors.Is(err, sarama.ErrOutOfBrokers) {
    			target.loggerOnce(context.Background(), err, target.ID().String())
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 15:02:59 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. internal/logger/target/kafka/kafka.go

    	sconfig.Metadata.Retry.Backoff = (10 * time.Second)
    	sconfig.Metadata.RefreshFrequency = (15 * time.Minute)
    
    	h.config = sconfig
    
    	var brokers []string
    	for _, broker := range h.kconfig.Brokers {
    		brokers = append(brokers, broker.String())
    	}
    
    	client, err := sarama.NewClient(brokers, sconfig)
    	if err != nil {
    		return err
    	}
    
    	producer, err := sarama.NewSyncProducerFromClient(client)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jun 02 03:03:39 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/BuildEventsErrorIntegrationTest.groovy

            throw new RuntimeException('broken closure')
        }
        task broken {
            doLast { throw new RuntimeException('broken task') }
        }
    """
    
            when:
            fails("broken")
    
            then:
            failure.assertHasFailures(2)
            failure.assertHasDescription("Execution failed for task ':broken'.")
                    .assertHasCause("broken task")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. docs/logging/README.md

    comment          (sentence)  optionally add a comment to this setting
    ```
    
    Configure MinIO to send audit logs to locally running Kafka brokers
    
    ```
    mc admin config set myminio/ audit_kafka:target1 brokers=localhost:29092 topic=auditlog
    mc admin service restart myminio/
    ```
    
    On another terminal assuming you have `kafkacat` installed
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

            }
            2.times {
                fails "thing", "-Pthing.broken"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep", ":finalizer"
            }
            2.times {
                fails "thing", "-PfinalizerDep.broken"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep"
            }
            2.times {
                fails "thing", "-PfinalizerDep.broken", "--continue"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

        }
    
        def "transports exception with broken methods"() {
            def broken = new CompletelyBrokenException()
    
            when:
            def transported = transport(broken)
    
            then:
            transported.class == CompletelyBrokenException
        }
    
        def "transports unserializable exception with broken methods"() {
            def broken = new CompletelyBrokenException() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncompatibleTasksIntegrationTest.groovy

                withProblem("Task `:declared` of type `Broken`: cannot deserialize object of type 'org.gradle.api.artifacts.ConfigurationContainer' as these are not supported with the configuration cache.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    Expected: A failure description which is a string starting with "broken!"
         but: failure descriptions were []''')
    
            when:
            failure.assertHasCause("broken!")
    
            then:
            def e3 = thrown(AssertionError)
            e3.message.trim().startsWith('''No matching cause found
    Expected: A cause which is a string starting with "broken!"
         but: causes were []''')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top