Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_threadSafety (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            boolean result = (nullStatus == CrawlerStatus.INITIALIZING);
            assertFalse(result);
        }
    
        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
            final int threadCount = 100;
            final int iterationsPerThread = 1000;
            final Set<Exception> exceptions = new HashSet<>();
    
            Thread[] threads = new Thread[threadCount];
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top