Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 179 for cleanup1 (0.06 sec)

  1. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertEquals(4, thumbnailJob.numOfThreads);
        }
    
        // Test cleanup setter
        public void test_cleanup() {
            assertFalse(thumbnailJob.cleanup);
    
            GenerateThumbnailJob result = thumbnailJob.cleanup();
    
            assertSame(thumbnailJob, result);
            assertTrue(thumbnailJob.cleanup);
        }
    
        // Test execute method with successful execution
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbSessionTest.java

            }
    
            @Test
            @DisplayName("Should handle exceptions during resource cleanup")
            void shouldHandleExceptionsDuringResourceCleanup() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                doThrow(new RuntimeException("Cleanup failed")).when(mockSession).close();
    
                assertThrows(RuntimeException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-ldap.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	cat /tmp/minio1_2.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	cat /tmp/minio2_2.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	cat /tmp/minio3_2.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileHandleImpl.java

            try {
                if (this.usageCount != null && this.usageCount.get() != 0 && this.open) {
                    log.warn("File handle was not properly closed, performing emergency cleanup: " + this);
                    if (this.creationBacktrace != null) {
                        log.warn(Arrays.toString(this.creationBacktrace));
                    }
                    emergencyCloseHandle();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for close() with resource cleanup.
         * Verifies that close properly cleans up resources.
         */
        @Test
        void testClose_withResourceCleanup() {
            // Create a mock that simulates resource cleanup
            doAnswer(invocation -> {
                // Simulate cleanup actions
                return null;
            }).when(smbTree).close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. docs/site-replication/run-replication-with-checksum-header.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    # Function to convert number to corresponding alphabet
    num_to_alpha() {
    	local num=$1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. docs/site-replication/run-sse-kms-object-replication.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    	echo "minio4 ============"
    	cat /tmp/minio4_1.log
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	pkill -9 kes || sudo pkill -9 kes
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper class for managing system processes in Fess.
     * This class provides functionality to start, stop, and manage external processes
     * such as crawler processes, with proper resource cleanup and lifecycle management.
     */
    public class ProcessHelper {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(ProcessHelper.class);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  9. cmd/os-readdir_test.go

    	dir := t.TempDir()
    	entries := []string{}
    	for i := range 10 {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, name), []byte{}, os.ModePerm); err != nil {
    			// For cleanup, its required to add these entries into test results.
    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create file, %s", err)
    		}
    		entries = append(entries, name)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

            public static class Config {
                public static final String KEEP_ORIGINAL_BODY = "keep.original.body";
                public static final String CLEANUP_ALL = "cleanup.all";
                public static final String CLEANUP_URL_FILTERS = "cleanup.urlFilters";
                public static final String JCIFS_PREFIX = "jcifs.";
                public static final String HTML_CANONICAL_XPATH = "html.canonical.xpath";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top