Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FlushMetrics (0.15 sec)

  1. pkg/scheduler/framework/runtime/framework_test.go

    			// Stop the goroutine which records metrics and ensure it's stopped.
    			cancel()
    			<-recorder.IsStoppedCh
    			// Try to clean up the metrics buffer again in case it's not empty.
    			recorder.FlushMetrics()
    
    			collectAndCompareFrameworkMetrics(t, tt.wantExtensionPoint, tt.wantStatus)
    			collectAndComparePluginMetrics(t, tt.wantExtensionPoint, testPlugin, tt.wantStatus)
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			for i, op := range test.operations {
    				for _, pInfo := range test.operands[i] {
    					op(t, logger, queue, pInfo)
    				}
    			}
    
    			recorder.FlushMetrics()
    
    			if err := testutil.GatherAndCompare(metrics.GetGather(), strings.NewReader(test.wants), test.metricsName); err != nil {
    				t.Fatal(err)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top