Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 841 for fatals (0.1 sec)

  1. cmd/erasure-server-pool-decom_test.go

    func TestPoolMetaValidate(t *testing.T) {
    	objLayer1, fsDirs, err := prepareErasurePools()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer removeRoots(fsDirs)
    
    	meta := objLayer1.(*erasureServerPools).poolMeta
    	pools := objLayer1.(*erasureServerPools).serverPools
    
    	objLayer2, fsDirs, err := prepareErasurePools()
    	if err != nil {
    		t.Fatalf("Initialization of object layer failed for Erasure setup: %s", err)
    	}
    	defer removeRoots(fsDirs)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 01 14:38:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. cni/pkg/log/uds_test.go

    	// the other one from UDS server
    	gotLogs := strings.Split(
    		strings.TrimSuffix(string(out), "\n"), "\n")
    	if want, got := len(cases)*2, len(gotLogs); want != got {
    		t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs)
    	}
    	i := 0
    	for _, l := range gotLogs {
    		var parsedLog map[string]any
    		assert.NoError(t, json.Unmarshal([]byte(l), &parsedLog))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    				mu.Lock()
    				errs++
    				mu.Unlock()
    				return
    			}
    			mu.Lock()
    			ok++
    			mu.Unlock()
    		}()
    	}
    	close(start)
    	wg.Wait()
    	if ok != 1 {
    		t.Fatalf("want 1 ok, got %d", ok)
    	}
    	if errs != n-1 {
    		t.Fatalf("want %d errors, got %d", n-1, errs)
    	}
    }
    
    // Wrapper for calling Put Bucket Policy HTTP handler tests for both Erasure multiple disks and single node setup.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. internal/event/target/postgresql_test.go

    	"database/sql"
    	"testing"
    )
    
    // TestPostgreSQLRegistration checks if postgres driver
    // is registered and fails otherwise.
    func TestPostgreSQLRegistration(t *testing.T) {
    	var found bool
    	for _, drv := range sql.Drivers() {
    		if drv == "postgres" {
    			found = true
    			break
    		}
    	}
    	if !found {
    		t.Fatal("postgres driver not registered")
    	}
    }
    
    func TestPsqlTableNameValidation(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 24 17:51:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    	if err == nil {
    		t.Fatalf("%s: Expected to fail since bucket name is invalid.", instanceType)
    	}
    
    	errMsg := "Bucket not found: minio-bucket"
    	// operation expected to fail since the bucket on which NewMultipartUpload is being initiated doesn't exist.
    	_, err = obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users_test.go

    		IsRemove: true,
    	})
    	if err != nil {
    		c.Fatalf("group update err: %v", err)
    	}
    	groups, err = s.adm.ListGroups(ctx)
    	if err != nil {
    		c.Fatalf("group list err: %v", err)
    	}
    	if set.CreateStringSet(groups...).Contains(group) {
    		c.Fatalf("created group still present!")
    	}
    	_, err = s.adm.GetGroupDescription(ctx, group)
    	if err == nil {
    		c.Fatalf("group appears to exist")
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    	if debug {
    		log.Println(strings.Join(os.Args, " "))
    	}
    	if len(os.Args) < 2 {
    		log.Fatal("usage: go_ios_exec a.out")
    	}
    
    	// For compatibility with the old builders, use a fallback bundle ID
    	bundleID = "golang.gotest"
    
    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatalf("%v\n", err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	var err error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. cmd/endpoint_test.go

    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected = <nil>, got = %v", err)
    			}
    		case err == nil:
    			t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr)
    		case testCase.expectedErr.Error() != err.Error():
    			t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    	value, err := ldapID.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	usersList, err := s.adm.ListUsers(ctx)
    	if err != nil {
    		c.Fatalf("list users should not fail: %v", err)
    	}
    	if len(usersList) != 1 {
    		c.Fatalf("expected user listing output: %#v", usersList)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. cmd/bitrot.go

    	}
    	for algorithm := range bitrotAlgorithms {
    		if !algorithm.Available() {
    			continue
    		}
    
    		checksum, err := hex.DecodeString(checksums[algorithm])
    		if err != nil {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: failed to decode %v checksum %s for selftest: %v", algorithm, checksums[algorithm], err))
    		}
    		var (
    			hash = algorithm.New()
    			msg  = make([]byte, 0, hash.Size()*hash.BlockSize())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top