Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for test_concurrentOperations (0.13 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                docMap.put("mimetype", mimeType);
                assertFalse("Should not support " + mimeType, thumbnailGenerator.isTarget(docMap));
            }
        }
    
        @Test
        public void test_concurrentOperations() throws InterruptedException {
            // Test thread safety with concurrent operations
            final int threadCount = 10;
            Thread[] threads = new Thread[threadCount];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  3. 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
        }
    
        @Test
        public void test_concurrent_operations() {
            // Test concurrent read operations
            protwordsFile.reload(null);
    
            // Multiple reads should work fine
            OptionalEntity<ProtwordsItem> item1 = protwordsFile.get(1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            } finally {
                if (outputFile.exists()) {
                    outputFile.delete();
                }
            }
        }
    
        // Test concurrent access patterns
        @Test
        public void test_concurrent_operations() throws Exception {
            final CommandGenerator generator1 = new CommandGenerator();
            final CommandGenerator generator2 = new CommandGenerator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
Back to Top