- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for test_thread_safety (0.22 seconds)
-
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
} else { System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); } } } @Test public void test_thread_safety() { // Test concurrent access to the method String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
java.lang.reflect.Modifier.isStatic(method.getModifiers())); } } } @Test public void test_thread_safety() throws InterruptedException { // Test concurrent access to thread dump methods final AtomicInteger successCount = new AtomicInteger(0); final AtomicInteger errorCount = new AtomicInteger(0);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} catch (NullPointerException e) { // Expected - WebApiException constructor cannot handle null exception } } @Test public void test_thread_safety() { // Test thread safety of utility methods final int threadCount = 10; final java.util.concurrent.CountDownLatch latch = new java.util.concurrent.CountDownLatch(threadCount);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
assertNotSame(provider1.providePrimaryOneWayCryptographer(), provider2.providePrimaryOneWayCryptographer()); } // Test thread safety @Test public void test_threadSafety() { // Test that the provider returns the same instances in multi-threaded environment final int threadCount = 10; final Thread[] threads = new Thread[threadCount];
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertFalse(fileInfo.matches(1024L, 2000L, 0x20)); // Should not match with different attributes assertFalse(fileInfo.matches(1024L, 1000L, 0x10)); } @Test public void testThreadSafety() throws InterruptedException { // Test concurrent updates from multiple threads Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test thread safety of read/write operations */ @Test @DisplayName("Test thread safety of operations") public void testThreadSafety() throws InterruptedException { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] buffer = new byte[1000]; int numThreads = 10;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000)); } @Test @DisplayName("Should maintain thread safety") void testThreadSafety() throws InterruptedException { int threadCount = 10; Thread[] threads = new Thread[threadCount]; boolean[] success = new boolean[threadCount];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState()); } @RepeatedTest(10) @DisplayName("Test thread safety") void testThreadSafety() throws InterruptedException { SimpleCircuitBreaker breaker = new SimpleCircuitBreaker("concurrent", 5, 3, 100); AtomicInteger successCount = new AtomicInteger(0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
} } @Test @DisplayName("Should test thread safety of setFileId") void testThreadSafety() throws InterruptedException { // Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); int threadCount = 10; Thread[] threads = new Thread[threadCount];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0)