Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 944 for FAILED (0.18 sec)

  1. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         */
        @Test
        void testHandshakeThrowsRuntimeExceptionOnFailure() throws Exception {
            // Arrange
            when(mockConnection.getHeaderField(0)).thenThrow(new RuntimeException("Connection failed"));
            doNothing().when(mockConnection).connect();
    
            // Act & Assert
            assertThrows(RuntimeCIFSException.class, () -> {
                ntlmConnection.getResponseCode();
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. cmd/signature-v4_test.go

    			query.Set(key, value)
    		}
    
    		// Create a request to use.
    		req, e := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if e != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, e)
    		}
    
    		// Do the same for the headers.
    		for key, value := range testCase.headers {
    			req.Header.Set(key, value)
    		}
    
    		// parse form.
    		req.ParseForm()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

                return null;
            });
            try (InputStream inputStream = form.synonymFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
            }
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                    // Note: Some fields may be final and cannot be nulled
    
                    // Clear any other mutable state would go here
                }
            } catch (Exception e) {
                log.error("Failed to perform emergency file handle cleanup", e);
            }
        }
    
        /**
         * @return a file handle with increased usage count
         */
        public SmbFileHandleImpl acquire() {
    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() method throwing exception.
         * Verifies behavior when close throws an exception.
         */
        @Test
        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
            assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails");
        }
    
        /**
         * Test for AutoCloseable functionality.
    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. helm-releases/minio-1.0.2.tgz

    NetworkPolicy is enabled, only pods with label {{ template "minio.fullname" . }}-client=true" will be able to connect to this minio cluster. {{- end }} minio/templates/_helper_create_bucket.txt #!/bin/sh set -e ; # Have script exit in the event of a failed command. {{- if .Values.configPathmc }} MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 24 18:58:05 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // Circuit breaker should have handled concurrent operations
            assertTrue(successCount.get() > 0, "Should have some successful operations");
            assertTrue(failureCount.get() > 0, "Should have some failed operations");
        }
    
        @Test
        public void testHalfOpenMaxAttempts() throws Exception {
            // Open circuit
            circuitBreaker.trip();
    
            // Wait for reset timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. api/go1.18.txt

    pkg testing, method (*F) Error(...interface{})
    pkg testing, method (*F) Errorf(string, ...interface{})
    pkg testing, method (*F) Fail()
    pkg testing, method (*F) FailNow()
    pkg testing, method (*F) Failed() bool
    pkg testing, method (*F) Fatal(...interface{})
    pkg testing, method (*F) Fatalf(string, ...interface{})
    pkg testing, method (*F) Fuzz(interface{})
    pkg testing, method (*F) Helper()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

            void shouldHandleExceptionsDuringResourceCleanup() throws Exception {
                SmbSession mockSession = mock(SmbSession.class);
                doThrow(new RuntimeException("Cleanup failed")).when(mockSession).close();
    
                assertThrows(RuntimeException.class, () -> {
                    try (SmbSession session = mockSession) {
                        // Resource usage simulation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    			if sizeS.failedCount > 0 {
    				res["repl-failed"] = fmt.Sprintf("%d versions, %d bytes", sizeS.failedCount, sizeS.failedSize)
    			}
    			if sizeS.pendingCount > 0 {
    				res["repl-pending"] = fmt.Sprintf("%d versions, %d bytes", sizeS.pendingCount, sizeS.pendingSize)
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top