Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testConcurrentLogging (0.07 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(2), stats.get(EventType.SECURITY_VIOLATION), "Should have 2 security violation events");
        }
    
        @Test
        @DisplayName("Test concurrent logging")
        void testConcurrentLogging() throws InterruptedException {
            int threadCount = 10;
            int eventsPerThread = 100;
            Thread[] threads = new Thread[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top