Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 1,885 for Failed (0.04 seconds)

  1. cmd/erasure-heal_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to setup Erasure environment: %v", i, err)
    		}
    		disks := setup.disks
    		erasure, err := NewErasure(t.Context(), test.dataBlocks, test.disks-test.dataBlocks, test.blocksize)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err)
    		}
    		data := make([]byte, test.size)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. tests/distinct_test.go

    	if err := DB.Model(&User{}).Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 5 {
    		t.Errorf("failed to query users count, got error: %v, count: %v", err, count)
    	}
    
    	if err := DB.Model(&User{}).Distinct("name").Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 3 {
    		t.Errorf("failed to query users count, got error: %v, count %v", err, count)
    	}
    
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 2.5K bytes
    - Click Count (0)
  3. cmd/batch-replicate_test.go

    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(replicateYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	multiPrefixReplicateYaml := `
    replicate:
      apiVersion: v1
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  4. cmd/net_test.go

    			}
    			if testCase.expectedErr == nil && err != nil {
    				t.Errorf("should succeed but failed with %v", err)
    			}
    			if err == nil {
    				if sameAddr != testCase.sameAddr {
    					t.Errorf("expected: %v, found: %v", testCase.sameAddr, sameAddr)
    				}
    			} else {
    				if err.Error() != testCase.expectedErr.Error() {
    					t.Errorf("failed with different error, expected: '%v', found:'%v'.",
    						testCase.expectedErr, err)
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

            try {
                File tempFile = File.createTempFile("test-system", ".properties");
                tempFile.deleteOnExit();
                return tempFile;
            } catch (IOException e) {
                logger.warn("Failed to create temp file, using null", e);
                return null;
            }
        }
    
        private void loadTestProperties() {
            // Load system.properties from test classpath
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

         */
        public interface RequestListener {
    
            /**
             * Called when a request starts.
             *
             * @param client the fault-tolerant client
             * @param request the request data
             */
            void onRequestStart(FaultTolerantClient client, RequestData request);
    
            /**
             * Called before each request attempt.
             *
             * @param client the fault-tolerant client
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

                } catch (DestroyFailedException e) {
                    log.warn("Failed to destroy SecretKey: {}", e.getMessage());
                }
            }
    
            // Remove from KeyStore
            if (keyStore != null) {
                try {
                    keyStore.deleteEntry("smb.session." + sessionId);
                } catch (Exception e) {
                    log.debug("Failed to remove key from KeyStore: {}", e.getMessage());
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. tests/query_test.go

    	var err error
    	err = DB.Create(&q1).Error
    	if err != nil {
    		t.Errorf("failed to create:%v", err)
    	}
    
    	err = DB.Create(&q2).Error
    	if err != nil {
    		t.Errorf("failed to create:%v", err)
    	}
    
    	var qs []QueryResetNullValue
    	err = DB.Joins("Item1").Joins("Item2").Find(&qs).Error
    	if err != nil {
    		t.Errorf("failed to find:%v", err)
    	}
    
    	if len(qs) != 2 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    if (log.isTraceEnabled()) {
                        log.trace("Failed to send nameservice request for " + name.name, ioe);
                    }
                    throw new UnknownHostException(name.name);
                } catch (final IOException ioe) {
                    log.info("Failed to send nameservice request for " + name.name, ioe);
                    throw new UnknownHostException(name.name);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. tests/sql_builder_test.go

    	stmt := dryRunDB.Create(&user).Statement
    	if stmt.SQL.String() == "" || len(stmt.Vars) != 9 {
    		t.Errorf("Failed to generate sql, got %v", stmt.SQL.String())
    	}
    
    	stmt2 := dryRunDB.Find(&user, "id = ?", user.ID).Statement
    	if stmt2.SQL.String() == "" || len(stmt2.Vars) != 1 {
    		t.Errorf("Failed to generate sql, got %v", stmt2.SQL.String())
    	}
    }
    
    type ageInt int8
    
    func (ageInt) String() string {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top