diff --git a/plugin/pkg/scheduler/algorithm/priorities/priorities_test.go b/plugin/pkg/scheduler/algorithm/priorities/priorities_test.go index 6fb7cbdf15e..bd967932576 100644 --- a/plugin/pkg/scheduler/algorithm/priorities/priorities_test.go +++ b/plugin/pkg/scheduler/algorithm/priorities/priorities_test.go @@ -990,7 +990,7 @@ func TestPrioritiesRegistered(t *testing.T) { if err == nil { functions = append(functions, fileFunctions...) } else { - t.Errorf("unexpected error when parsing %s", filePath) + t.Errorf("unexpected error when parsing %s: %v", filePath, err) } }