Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 243 for waiter (0.22 seconds)

  1. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            }
            long duration = System.nanoTime() - startTime;
    
            // Should complete quickly (relaxed threshold for CI environments)
            // Note: Set-based O(1) lookup should be much faster than O(n) array iteration
            assertTrue("Set-based lookup should complete quickly (duration: " + duration / 1_000_000 + "ms)", duration < 1_000_000_000); // 1 second (relaxed from 100ms for CI)
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                ByteArrayOutputStream stdout = connectStream(process.getInputStream(), latch);
                ByteArrayOutputStream stderr = connectStream(process.getErrorStream(), latch);
    
                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
                return new ExecResult(args, process.exitValue(), stdout.toString(UTF_8), stderr.toString(UTF_8));
            } catch (Exception e) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            assertTrue(cmdNotFound.getMessage().contains("not found"));
    
            // Scenario 2: Command timeout
            CommandExecutionException timeout =
                    new CommandExecutionException("Command execution timed out after 30 seconds", new RuntimeException("Timeout"));
            assertTrue(timeout.getMessage().contains("timed out"));
            assertNotNull(timeout.getCause());
    
            // Scenario 3: Permission denied
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            transformer.setOutputProperty(OutputKeys.METHOD, "xml");
    
            final StringWriter writer = new StringWriter();
            final StreamResult result = new StreamResult(writer);
    
            final DOMSource source = new DOMSource(node);
            transformer.transform(source, result);
    
            return writer.toString();
        }
    
        @Test
        public void test_getChildUrlRules() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            assertEquals("", client.testStripHtmlTags(""));
        }
    
        @Test
        public void test_stripHtmlTags_handlesSelfClosingTags() {
            assertEquals("before  after", client.testStripHtmlTags("before <br/> after"));
        }
    
        @Test
        public void test_stripHtmlTags_handlesTagsWithAttributes() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            private final int exitValue;
    
            public TestProcess(int exitValue) {
                this.exitValue = exitValue;
            }
    
            @Override
            public int waitFor() throws InterruptedException {
                return exitValue;
            }
    
            @Override
            public int exitValue() {
                return exitValue;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

        }
    
        /**
         * Creates a new document in the search index.
         *
         * @param form the create form containing document data
         * @return HTML response redirecting to the list page after creation
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            currentForm = form;
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        public final ActionResponse godHandMonologue(final ActionRuntime runtime) {
            return viewHelper.getActionHook().godHandMonologue(runtime, super::godHandMonologue);
        }
    
        /**
         * Hook method called after action execution.
         * This method delegates to the view helper's action hook for cleanup.
         *
         * @param runtime the action runtime context
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * that a failure to register one class doesn't prevent other classes from being registered.
         * Registration failures are logged at WARN level since they may cause serialization errors later.
         * </p>
         *
         * @param kryo the Kryo instance to register the class with
         * @param clazz the class to register
         */
        private void registerClassSafely(final Kryo kryo, final Class<?> clazz) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            // Create a temporary test file
            testFile = File.createTempFile("test_stopwords", ".txt");
            testFile.deleteOnExit();
    
            // Write test data to file
            try (FileOutputStream fos = new FileOutputStream(testFile)) {
                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
Back to Top