Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_concurrent_operations (0.07 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            } finally {
                if (outputFile.exists()) {
                    outputFile.delete();
                }
            }
        }
    
        // Test concurrent access patterns
        public void test_concurrent_operations() throws Exception {
            final CommandGenerator generator1 = new CommandGenerator();
            final CommandGenerator generator2 = new CommandGenerator();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // with message "Failed to write a userDict file." - this is covered by
            // the constructor's exception handling implementation
        }
    
        public void test_concurrent_operations() {
            // Test concurrent read operations
            protwordsFile.reload(null);
    
            // Multiple reads should work fine
            OptionalEntity<ProtwordsItem> item1 = protwordsFile.get(1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                docMap.put("mimetype", mimeType);
                assertFalse("Should not support " + mimeType, thumbnailGenerator.isTarget(docMap));
            }
        }
    
        public void test_concurrentOperations() throws InterruptedException {
            // Test thread safety with concurrent operations
            final int threadCount = 10;
            Thread[] threads = new Thread[threadCount];
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                assertEquals(3, customCb.getFailureCount(), "Failure count should match threshold");
            } finally {
                customCb.close();
            }
        }
    
        @Test
        public void testConcurrentOperations() throws Exception {
            int threadCount = 10;
            int operationsPerThread = 100;
            CountDownLatch latch = new CountDownLatch(threadCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            endLatch.await(5, TimeUnit.SECONDS);
    
            assertEquals(2, successCount.get());
        }
    
        /**
         * Test concurrent operations on different fields
         */
        public void test_concurrentOperations() throws Exception {
            final int threadCount = 10;
            final int operationsPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            assertEquals(1, transformer3.getTransformCallCount());
        }
    
        /**
         * Test concurrent transformer operations
         */
        public void test_concurrentOperations() throws Exception {
            final TestTransformer transformer = new TestTransformer("concurrentTransformer");
            final int threadCount = 5;
            final int operationsPerThread = 10;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top