Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for retriable (0.06 sec)

  1. src/test/java/jcifs/smb/SmbExceptionTest.java

        }
    
        @Test
        @DisplayName("Should check if exception is retriable")
        void testRetriableExceptions() {
            // Test non-retriable errors
            SmbException accessDenied = new SmbException(NtStatus.NT_STATUS_ACCESS_DENIED, false);
            // Note: isRetriable() method does not exist in SmbException
            assertNotNull(accessDenied);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. cmd/server-main.go

    	//  - Write quorum not met when upgrading configuration
    	//    version is needed, migration is needed etc.
    	rquorum := InsufficientReadQuorum{}
    	wquorum := InsufficientWriteQuorum{}
    
    	// One of these retriable errors shall be retried.
    	return errors.Is(err, errDiskNotFound) ||
    		errors.Is(err, errConfigNotFound) ||
    		errors.Is(err, context.DeadlineExceeded) ||
    		errors.Is(err, errErasureWriteQuorum) ||
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  3. src/main/java/jcifs/smb/SmbOperationException.java

            private final String description;
            private final ErrorCategory category;
            private final boolean retryable;
    
            ErrorCode(String description, ErrorCategory category, boolean retryable) {
                this.description = description;
                this.category = category;
                this.retryable = retryable;
            }
    
            public String getDescription() {
                return description;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.getMessage().contains("Disk full"));
        }
    
        @Test
        @DisplayName("Should have correct retryable flags for error codes")
        void testErrorCodeRetryableFlags() {
            // Retryable errors
            assertTrue(SmbOperationException.ErrorCode.CONNECTION_FAILED.isRetryable());
            assertTrue(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT.isRetryable());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        } finally {
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
      public void testAwaitFullGc() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        } finally {
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      /**
       * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as
       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
      public void testAwaitFullGc() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       *    has since been closed by the server.
       *  * A client timeout (HTTP 408).
       *  * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator].
       *  * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header).
       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
      open fun isOneShot(): Boolean = false
    
      companion object {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage());
        }
    
        public void test_getCause() {
            // Test that the cause is properly set and retrievable
            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            } else {
                assertEquals(msg, ex.getMessage(), "Message should be stored as provided");
            }
            assertSame(cause, ex.getCause(), "Cause should be stored and retrievable");
            assertSame(cause, ex.getRootCause(), "Deprecated getRootCause should match getCause");
            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Status should default to unsuccessful for message+cause ctor");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbWatchHandle.java

         * opened if it is not and should be closed with {@link #close()} when no longer
         * needed.
         *
         * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all
         * implementations.
         *
         * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top