- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 4,880 for failf (0.05 sec)
-
test/chanlinear.go
// on the computed ratio. if t1 < 1*time.Second { n *= 2 continue } // Once the test runs long enough for n ops, // try to get the right ratio at least once. // If five in a row all fail, give up. if fails++; fails >= 5 { panic(fmt.Sprintf("%s: too slow: %d channels: %v; %d channels: %v\n", typ, n, t1, 2*n, t2)) } } } func main() { checkLinear("chanSelect", 1000, func(n int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/secure_serving.go
// runonce to try to prime data. If this fails, it's ok because we fail closed. // Files are required to be populated already, so this is for convenience. if err := controller.RunOnce(ctx); err != nil { klog.Warningf("Initial population of SNI serving certificate failed: %v", err) } go controller.Run(ctx, 1) } } // runonce to try to prime data. If this fails, it's ok because we fail closed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 20:54:07 UTC 2023 - 10.3K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/dependencies/JavaConfigurationSetupIntegrationTest.groovy
} if (forbidden(alternatives) || doesNotExist(alternatives)) { fails 'help' } else { succeeds 'help' } then: !deprecated(alternatives) || output.contains("The $configuration configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 8.0. Please use the $alternatives configuration instead.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_nomod.txt
# Test go commands with no module. env GO111MODULE=on # go mod edit fails unless given explicit mod file argument ! go mod edit -json go mod edit -json x.mod # bug succeeds [exec:echo] env BROWSER=echo [exec:echo] go bug # commands that load the package in the current directory fail ! go build ! go fmt ! go generate ! go get ! go install ! go list ! go run ! go test ! go vet
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 29 18:57:53 UTC 2018 - 644 bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsRepoErrorsIntegrationTest.groovy
def "fails when providing PasswordCredentials with decent error"() { setup: buildFile << """ repositories { maven { url "${mavenGcsRepo.uri}" credentials { username "someUserName" password "someSecret" } } } """ when: fails 'retrieve' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/support/ZipTest.kt
import org.junit.Assert.assertFalse import org.hamcrest.MatcherAssert.assertThat import org.junit.Assert.fail import org.junit.Test import java.io.File import java.util.zip.ZipEntry import java.util.zip.ZipOutputStream class ZipTest : TestWithTempFiles() { @Test fun `unzip fails on path traversal attempts`() { val maliciousZip = file("malicious.zip").apply {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionTest.groovy
} def "when causes include ResolutionProviders, their resolutions are included"() { given: def fail1 = new TestResolutionProviderException('resolution1') def fail2 = new TestResolutionProviderException('resolution2') def multiFail = new DefaultMultiCauseException('failure', fail1, fail2) expect:multiFail.getResolutions() == ['resolution1', 'resolution2'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishedRichVersionConstraintsIntegrationTest.groovy
repositoryInteractions { 'org:foo:17' { expectGetMetadata() } 'org:bar:1.0' { expectGetMetadata() } } fails ':checkDeps' then: failure.assertHasCause("""Cannot find a version of 'org:foo' that satisfies the version constraints: Dependency path ':test:unspecified' --> 'org:foo:17'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationMutationIntegrationTest.groovy
} } def "provides useful error message when withDependencies action fails to execute"() { when: buildFile << """ configurations.compile.withDependencies { throw new RuntimeException("Bad user code") } """ then: resolve.prepare() fails ":checkDeps" failure.assertHasCause("Bad user code") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 19:31:56 UTC 2024 - 14.8K bytes - Viewed (0)