Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for derrs (0.05 sec)

  1. cmd/admin-handlers.go

    	}
    
    	if globalIsDistErasure {
    		// Get heal status from other peers
    		peersHealStates, nerrs := globalNotificationSys.BackgroundHealStatus(ctx)
    		var errCount int
    		for _, nerr := range nerrs {
    			if nerr.Err != nil {
    				adminLogIf(ctx, nerr.Err)
    				errCount++
    			}
    		}
    		if errCount == len(nerrs) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. pkg/scheduler/schedule_one_test.go

    		{
    			name:           "error pod failed scheduling",
    			sendPod:        podWithID("foo", ""),
    			mockResult:     mockScheduleResult{ScheduleResult{SuggestedHost: testNode.Name, EvaluatedNodes: 1, FeasibleNodes: 1}, errS},
    			expectError:    errS,
    			expectErrorPod: podWithID("foo", ""),
    			eventReason:    "FailedScheduling",
    		},
    		{
    			name:             "error bind forget pod failed scheduling",
    			sendPod:          podWithID("foo", ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		if err != nil {
    			errs = append(errs, err)
    			continue
    		}
    		slurp, err = io.ReadAll(res.Body)
    		if err != nil {
    			errs = append(errs, err)
    			continue
    		}
    		nSuccess++
    	}
    	if nSuccess > 0 {
    		t.Logf("successes = %d of %d", nSuccess, trials)
    	} else {
    		t.Errorf("All runs failed:")
    	}
    	for _, err := range errs {
    		t.Logf("  err: %v", err)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_generator.go

    		devicePath, attachErr := volumeAttacher.Attach(
    			volumeToAttach.VolumeSpec, volumeToAttach.NodeName)
    
    		if attachErr != nil {
    			uncertainNode := volumeToAttach.NodeName
    			if derr, ok := attachErr.(*volerr.DanglingAttachError); ok {
    				uncertainNode = derr.CurrentNode
    			}
    			addErr := actualStateOfWorld.MarkVolumeAsUncertain(
    				logger,
    				volumeToAttach.VolumeName,
    				volumeToAttach.VolumeSpec,
    				uncertainNode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    			t.Errorf("%s: %v\nGot response:\n%s\n\n%s", tc.name, err, got, logs)
    		}
    	}
    }
    
    type errorListener struct {
    	errs []error
    }
    
    func (l *errorListener) Accept() (c net.Conn, err error) {
    	if len(l.errs) == 0 {
    		return nil, io.EOF
    	}
    	err = l.errs[0]
    	l.errs = l.errs[1:]
    	return
    }
    
    func (l *errorListener) Close() error {
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. src/database/sql/sql_test.go

    			_, err := db.Exec("will never run")
    			errs <- err
    		}()
    	}
    
    	opening.Wait() // wait for all workers to begin running
    
    	const timeout = 5 * time.Second
    	to := time.NewTimer(timeout)
    	defer to.Stop()
    
    	// check that all connections fail without deadlock
    	for i := 0; i < tryOpen; i++ {
    		select {
    		case err := <-errs:
    			if got, want := err, errOffline; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    			}
    			p.Match = append(p.Match, m.Pattern())
    			if seenPkg[p] {
    				continue
    			}
    			seenPkg[p] = true
    			pkgs = append(pkgs, p)
    		}
    
    		if len(m.Errs) > 0 {
    			// In addition to any packages that were actually resolved from the
    			// pattern, there was some error in resolving the pattern itself.
    			// Report it as a synthetic package.
    			p := new(Package)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		rpcStats := rest.GetRPCStats()
    		if globalIsDistErasure {
    			metrics = append(metrics, MetricV2{
    				Description: getInternodeFailedRequests(),
    				Value:       float64(rpcStats.Errs),
    			})
    			metrics = append(metrics, MetricV2{
    				Description: getInternodeTCPDialTimeout(),
    				Value:       float64(rpcStats.DialErrs),
    			})
    			metrics = append(metrics, MetricV2{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top