Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testRetryLogicMaxRetryCount (0.1 seconds)

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        /**
         * Test: Retry logic correctly enforces maxRetryCount
         * Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries)
         */
        @Test
        public void testRetryLogicMaxRetryCount() throws Exception {
            fesenClient.setMaxRetryCount(5);
            fesenClient.setRetryInterval(10L); // Short interval for testing
    
            final AtomicInteger attemptCount = new AtomicInteger(0);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
Back to Top