change framework_extension_point_duration_seconds from sampling to always record

This commit is contained in:
sunxiaofei03
2020-01-09 12:23:05 +08:00
parent 9db337be05
commit 6c58cc0ad0
5 changed files with 76 additions and 113 deletions

View File

@@ -593,7 +593,6 @@ func TestPreFilterPlugins(t *testing.T) {
t.Errorf("AddPod called %v, expected: 1", preFilter2.RemoveCalled)
}
})
}
func TestFilterPlugins(t *testing.T) {
@@ -817,7 +816,9 @@ func TestFilterPlugins(t *testing.T) {
}
func TestRecordingMetrics(t *testing.T) {
state := &CycleState{recordFrameworkMetrics: true}
state := &CycleState{
recordPluginMetrics: true,
}
tests := []struct {
name string
action func(f Framework)