Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 106 for broken3 (0.22 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    		expectCreateErr   bool
    		expectAllocation  []string
    		expectAllocateErr bool
    	}{
    		"empty": {},
    
    		"broken-filter": {
    			filter: filterBrokenType,
    
    			expectCreateErr: true,
    		},
    
    		"broken-request": {
    			requests: []*resourceapi.NamedResourcesRequest{requestBrokenType},
    
    			expectCreateErr: true,
    		},
    
    		"no-resources": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

            models[1] instanceof CustomModel
        }
    
        def "listener is isolated when it fails with an exception"() {
            when:
            def listener = { throw new RuntimeException("broken") } as StreamedValueListener
    
            withConnection {
                def builder = it.action(new ModelStreamingBuildAction())
                collectOutputs(builder)
                builder.setStreamedValueListener(listener)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIdentityIntegrationTest.groovy

            repoC.file("settings.gradle") << """
                ${settings}
            """
            repoC.file("build.gradle") << """
                classes.doLast {
                    throw new RuntimeException("broken")
                }
            """
            repoC.commit("initial version")
            repoC.createLightWeightTag("1.2")
    
            dependency(dependencyName)
            repoB.commit("initial version")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperIntegrationTest.groovy

    import java.nio.file.Files
    
    @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = NOT_EMBEDDED_REASON)
    class WrapperIntegrationTest extends AbstractWrapperIntegrationSpec {
        def "can recover from a broken distribution"() {
            buildFile << "task hello"
            prepareWrapper()
            def gradleUserHome = testDirectory.file('some-custom-user-home')
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/SourceDependencyIdentityIntegrationTest.groovy

                    throw new RuntimeException("broken")
                }
            """
            repo.commit("initial version")
            repo.createLightWeightTag("1.2")
            dependency(dependencyName)
    
            when:
            fails(":assemble")
    
            then:
            failure.assertHasDescription("Execution failed for task ':${buildName}:classes'.")
            failure.assertHasCause("broken")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. internal/event/target/mqtt.go

    	EnvMQTTQueueLimit        = "MINIO_NOTIFY_MQTT_QUEUE_LIMIT"
    )
    
    // MQTTArgs - MQTT target arguments.
    type MQTTArgs struct {
    	Enable               bool           `json:"enable"`
    	Broker               xnet.URL       `json:"broker"`
    	Topic                string         `json:"topic"`
    	QoS                  byte           `json:"qos"`
    	User                 string         `json:"username"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

            testFile("gradle/src/BuildClass.java").writelns("public class BuildClass { public BuildClass(String value) { throw new RuntimeException(\"broken\"); } }");
    
            ExecutionFailure failure = inTestDirectory().withTasks("test").runWithFailure();
            failure.assertHasCause("broken");
        }
    
        @Test
        public void gradleImplementationClassesDoNotLeakOntoBuildScriptClassPathWhenUsingBuildSrc() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

            stat.type == FileType.Directory
            stat.lastModified == 0
            stat.length == 0
            assertSameAccessType(stat, VIA_SYMLINK)
        }
    
        @Requires(UnitTestPreconditions.Symlinks)
        def "stats broken symlink"() {
            def file = tmpDir.file("file")
            def link = tmpDir.file("link")
            link.createLink(file)
    
            expect:
            def stat = accessor.stat(link)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/RunTasksBeforeRunActionCrossVersion.groovy

            "build logic does not define any additional tasks" | ""
            "build logic defines default tasks"                | "defaultTasks = ['broken']"
            "build logic injects tasks into start param"       | "gradle.startParameter.taskNames = ['broken']"
        }
    
        // older versions do not run any tasks
        @TargetGradleVersion('>=4.7')
        def "empty array of task names means run help task"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/external/PlayExternalContinuousBuildIntegrationTest.groovy

            executer.withStackTraceChecksDisabled()
            def original = file("app/controllers/Application.scala").text
    
            when: "source file is broken"
            file("app/controllers/Application.scala").text = "class Application extends Controller {"
    
            then:
            fails("runPlay")
    
            when: "source file is fixed"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top