Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,359 for facile (0.04 seconds)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

         * Handle channel failure
         *
         * @param failedChannel failed channel
         * @param error error that caused failure
         */
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
            log.warn("Channel {} failed: {}", failedChannel.getChannelId(), error.getMessage());
    
            // Mark channel as failed
            failedChannel.setState(ChannelState.FAILED);
    
            // Get or create failover state
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. schema/constraint_test.go

    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user check, got error %v", err)
    	}
    
    	results := map[string]schema.CheckConstraint{
    		"name_checker": {
    			Name:       "name_checker",
    			Constraint: "name <> 'jinzhu'",
    		},
    		"chk_user_checks_name2": {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                } else {
                    response.setError(message.getErrorMessage());
                    log.warn("Witness registration failed: {}", message.getErrorMessage());
                }
    
                return response;
    
            } catch (Exception e) {
                throw new IOException("Witness register RPC failed", e);
            }
        }
    
        /**
         * Performs witness unregistration.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                    logger.info("Created storage bucket: {}", bucket);
                } catch (final Exception e1) {
                    logger.warn("Failed to create storage bucket: {}", bucket, e1);
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to check bucket: {}", bucket, e);
                }
            }
        }
    
        @Override
        public boolean isAvailable() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. cmd/object-api-putobject_test.go

    		t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s.", len(testCases)+1, instanceType, actualErr.Error())
    	}
    	// Failed as expected, but does it fail for the expected reason.
    	if actualErr != nil && !testCase.shouldPass {
    		if !errors.Is(actualErr, testCase.expectedError) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Click Count (0)
  6. tests/migrate_test.go

    	if err := DB.Migrator().DropTable(allModels...); err != nil {
    		t.Fatalf("Failed to drop table, got error %v", err)
    	}
    
    	if err := DB.AutoMigrate(allModels...); err != nil {
    		t.Fatalf("Failed to auto migrate, got error %v", err)
    	}
    
    	if tables, err := DB.Migrator().GetTables(); err != nil {
    		t.Fatalf("Failed to get database all tables, but got error %v", err)
    	} else {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 66.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            failedChannel = new ChannelInfo("failed-channel", mockTransport, localInterface, remoteInterface);
            failedChannel.setState(ChannelState.ESTABLISHED);
    
            when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer);
        }
    
        @Test
        void testHandleFailure() {
            IOException error = new IOException("Connection failed");
    
            failover.handleFailure(failedChannel, error);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. cmd/bucket-handlers_test.go

    	req, err := newTestSignedRequestV4(http.MethodDelete, getBucketLocationURL("", bucketName), 0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err)
    	}
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            // Arrange
            when(handle.hasCapability(anyInt())).thenThrow(new CIFSException("capability check failed"));
    
            // Act + Assert
            CIFSException ex = assertThrows(CIFSException.class, () -> handle.hasCapability(42));
            assertEquals("capability check failed", ex.getMessage());
            verify(handle).hasCapability(42);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            Exception cause = new RuntimeException("Token validation failed");
            SsoLoginException exception = new SsoLoginException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertNotNull(exception.getCause());
            assertEquals(cause, exception.getCause());
            assertEquals("Token validation failed", exception.getCause().getMessage());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
Back to Top