Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 841 for fatals (0.09 sec)

  1. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables_e2e_test.go

    }
    
    func validateIptablesClean(t *testing.T) {
    	cur := iptablesSave(t)
    	if strings.Contains(cur, "ISTIO") {
    		t.Fatalf("Istio rules leftover: %v", cur)
    	}
    	if strings.Contains(cur, "-A") {
    		t.Fatalf("Rules: %v", cur)
    	}
    }
    
    var initialized = &sync.Once{}
    
    func setup(t *testing.T) {
    	initialized.Do(func() {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. cmd/crossdomain-xml-handler_test.go

    	handler := setCrossDomainPolicyMiddleware(router)
    	srv := httptest.NewServer(handler)
    
    	resp, err := http.Get(srv.URL + crossDomainXMLEntity)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if resp.StatusCode != http.StatusOK {
    		t.Fatal("Unexpected http status received", resp.Status)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jul 08 14:31:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. cmd/last-minute_gen.go

    								return
    							}
    						case "Size":
    							z[za0001].Totals[za0002].Size, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "Size")
    								return
    							}
    						case "N":
    							z[za0001].Totals[za0002].N, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "N")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser_test.go

    	cred := credentialHeader{
    		accessKey: accessKey,
    	}
    	parsedDate, err := time.Parse(yyyymmdd, date)
    	if err != nil {
    		t.Fatalf("Failed to parse date")
    	}
    	cred.scope.date = parsedDate
    	cred.scope.region = region
    	cred.scope.service = service
    	cred.scope.request = requestVersion
    
    	return cred
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication_test.go

    			if err != nil {
    				t.Fatalf("Got unexpected error: %v", err)
    			}
    			if got := cfg.HasActiveRules(tc.prefix, false); got != tc.expectedNonRec {
    				t.Fatalf("Expected result with recursive set to false: `%v`, got: `%v`", tc.expectedNonRec, got)
    			}
    			if got := cfg.HasActiveRules(tc.prefix, true); got != tc.expectedRec {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. cmd/erasure-metadata-utils_test.go

    	defer cancel()
    
    	nDisks := 16
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal(err)
    	}
    	objLayer, _, err := initObjectLayer(ctx, mustGetPoolEndpoints(0, disks...))
    	if err != nil {
    		removeRoots(disks)
    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. istioctl/cmd/root_test.go

    	parent.AddCommand(child)
    
    	// verify both parent flags and the child flag are visible by default
    	parent.SetArgs([]string{"child", "--help"})
    	if err := parent.Execute(); err != nil {
    		t.Fatal(err)
    	}
    	got := out.String()
    	out.Reset()
    	checkHelpForFlag(t, got, parentFlag0, true)
    	checkHelpForFlag(t, got, parentFlag1, true)
    	checkHelpForFlag(t, got, parentFlag2, true)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 15 17:59:55 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  9. docs/iam/access-manager-plugin.go

    	if certFile != "" || keyFile != "" {
    		if certFile == "" || keyFile == "" {
    			log.Fatal("Please provide both a key file and a cert file to enable TLS.")
    		}
    		serveFunc = func() error {
    			return http.ListenAndServeTLS(":8080", certFile, keyFile, nil)
    		}
    	}
    
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listening on :8080")
    	log.Fatal(serveFunc())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/config-encrypted_test.go

    		AccessKey: "minio",
    		SecretKey: "minio1234",
    	}
    
    	data := []byte(`config data`)
    	edata1, err := madmin.EncryptData(cred1.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	edata2, err := madmin.EncryptData(cred2.String(), data)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top