Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for microsecond (0.25 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		p := st.MakePod().Name(fmt.Sprintf("test-pod-%v", i)).Namespace("ns1").UID(fmt.Sprintf("tp00%v", i)).Priority(highPriority).Node("node1").NominatedNodeName("node1").Obj()
    		q.Add(logger, p)
    	}
    	c.Step(time.Microsecond)
    	// Simulate a pod being popped by the scheduler, determined unschedulable, and
    	// then moved back to the active queue.
    	p1, err := q.Pop(logger)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			for _, err := range errs {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			// test context cancellation
    			found := false
    			evalCtx, cancel := context.WithTimeout(ctx, time.Microsecond)
    			cancel()
    			errs, _ = celValidator.Validate(evalCtx, field.NewPath("root"), &s, tt.obj, nil, celconfig.RuntimeCELCostBudget)
    			for _, err := range errs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__coordination.k8s.io__v1_openapi.json

              }
            },
            "type": "object"
          },
          "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": {
            "description": "MicroTime is version of Time with microsecond level precision.",
            "format": "date-time",
            "type": "string"
          },
          "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 136.6K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__events.k8s.io__v1_openapi.json

              }
            },
            "type": "object"
          },
          "io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime": {
            "description": "MicroTime is version of Time with microsecond level precision.",
            "format": "date-time",
            "type": "string"
          },
          "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 142.7K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    			// select will just proceed immediately. Not a big deal.
    			// For short tests we can grow [sic] the timeout a bit without fear of taking too long
    			pause := 10 * time.Microsecond
    			if testing.Short() {
    				pause = 100 * time.Microsecond
    			}
    			time.AfterFunc(pause, helper)
    		}
    
    		// Run select.
    		i, recv, recvOK, panicErr := runSelect(cases, info)
    		if panicErr != nil && !canPanic {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    			if err != nil {
    				t.Errorf("Could not create Job: %v", err)
    			}
    
    			var j *batch.Job
    			err = wait.PollUntilContextTimeout(ctx, 200*time.Microsecond, 3*time.Second, true, func(ctx context.Context) (done bool, err error) {
    				j, err = clientset.BatchV1().Jobs(metav1.NamespaceDefault).Get(ctx, job.GetName(), metav1.GetOptions{})
    				if err != nil {
    					return false, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				})
    
    				for apiName, latency := range disk.Metrics.LastMinute {
    					metrics = append(metrics, MetricV2{
    						Description:    getNodeDriveAPILatencyMD(),
    						Value:          float64(latency.Avg().Microseconds()),
    						VariableLabels: map[string]string{"drive": disk.DrivePath, "api": "storage." + apiName},
    					})
    				}
    			}
    		}
    
    		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