Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 423 for failures (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            @Test
            @DisplayName("should handle .mvn directory creation failure gracefully")
            void shouldHandleMvnDirectoryCreationFailureGracefully() throws Exception {
                Path projectDir = tempDir.resolve("project");
                Files.createDirectories(projectDir);
    
                // Create a file where .mvn directory should be (to cause creation failure)
                Path mvnFile = projectDir.resolve(".mvn");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 902 bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // incomplete.
        val creator = cache.edit("k1")!!
        creator.newSink(0).buffer().use {
          it.writeUtf8("Hello")
        }
    
        // Simulate a severe Filesystem failure on the first initialization.
        filesystem.setFaultyDelete(cacheDir / "k1.0.tmp", true)
        filesystem.setFaultyDelete(cacheDir, true)
        cache =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      ) = logEvent(ConnectionEvent.ConnectStart(System.nanoTime(), route, call))
    
      override fun connectFailed(
        route: Route,
        call: Call,
        failure: IOException,
      ) = logEvent(
        ConnectionEvent.ConnectFailed(System.nanoTime(), route, call, failure),
      )
    
      override fun connectEnd(
        connection: Connection,
        route: Route,
        call: Call,
      ) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri May 30 21:28:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. internal/auth/credentials_test.go

    		t.Run("", func(t *testing.T) {
    			_, err := ExpToInt64(testCase.exp)
    			if err != nil && !testCase.expectedFailure {
    				t.Errorf("Expected success but got failure %s", err)
    			}
    			if err == nil && testCase.expectedFailure {
    				t.Error("Expected failure but got success")
    			}
    		})
    	}
    }
    
    func TestIsAccessKeyValid(t *testing.T) {
    	testCases := []struct {
    		accessKey      string
    		expectedResult bool
    	}{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. cmd/tier.go

    type tierMetrics struct {
    	sync.RWMutex  // protects requestsCount only
    	requestsCount map[string]struct {
    		success int64
    		failure int64
    	}
    	histogram *prometheus.HistogramVec
    }
    
    var globalTierMetrics = tierMetrics{
    	requestsCount: make(map[string]struct {
    		success int64
    		failure int64
    	}),
    	histogram: prometheus.NewHistogramVec(prometheus.HistogramOpts{
    		Name:    "tier_ttlb_seconds",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/LocalRepositoryNotAccessibleException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import java.io.IOException;
    
    /**
     * Signals a failure to store files within the local repository.
     *
     */
    @Deprecated
    public class LocalRepositoryNotAccessibleException extends IOException {
    
        public LocalRepositoryNotAccessibleException(String message, Throwable cause) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  8. architecture/build-execution-model.md

    4. The daemon runs the request, sending back data such as logging output or tooling API events and intermediate models while doing so.
    5. The daemon sends the result back. For some requests, this might be a simple success/failure result, and for others this might also include a more complex object, such as a tooling API model.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 907 bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * <p>If the combiningCallable throws an {@code ExecutionException}, the cause of the thrown
         * {@code ExecutionException} will be extracted and used as the failure of the derived step.
         *
         * <p>If the combiningCallable throws any other exception, it will be used as the failure of the
         * derived step.
         *
         * <p>If an exception is thrown after the combiningCallable creates a {@code ClosingFuture},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                assertEquals(1, result.unmodifiedCount(), "Should have 1 unmodified POM");
                assertEquals(0, result.errorCount(), "Should have no errors");
            }
    
            @Test
            @DisplayName("should create failure result")
            void shouldCreateFailureResult() {
                Path pom1 = Paths.get("pom.xml");
                Path pom2 = Paths.get("module/pom.xml");
    
                UpgradeResult result = new UpgradeResult(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top