Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 411 for broken1 (0.13 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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

                        compile {
                            outgoing {
                                variants {
                                    broken1 {
                                        attributes.attribute(attr, true)
                                    }
                                    broken2 {
                                        attributes.attribute(attr, false)
                                    }
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. internal/config/notify/legacy.go

    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key: target.KafkaBrokers,
    			Value: func() string {
    				var brokers []string
    				for _, broker := range cfg.Brokers {
    					brokers = append(brokers, broker.String())
    				}
    				return strings.Join(brokers, config.ValueSeparator)
    			}(),
    		},
    		config.KV{
    			Key:   target.KafkaTopic,
    			Value: cfg.Topic,
    		},
    		config.KV{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy

                        broken b.flatMap { it.output }
                        broken b.flatMap { throw new RuntimeException("broken artifact") }
                    }
                }
    
                project(':a') {
                    dependencies {
                        implementation project(':b')
                    }
                }
            """
    
            when:
            run(":a:resolve")
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top