From 97b4fe113298267af672b59afd2f67c44c4c886c Mon Sep 17 00:00:00 2001 From: Alexey Alexandrov Date: Tue, 2 Feb 2021 00:43:17 -0800 Subject: [PATCH] test(profiler): remove deprecated and unused now API (#3638) Change-Id: I0211d72d1baab187756077bb66227bb83b4cd6f4 --- profiler/proftest/proftest.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/profiler/proftest/proftest.go b/profiler/proftest/proftest.go index 3dd7dbda168c..e806a8137e98 100644 --- a/profiler/proftest/proftest.go +++ b/profiler/proftest/proftest.go @@ -24,7 +24,6 @@ import ( "errors" "fmt" "io/ioutil" - "log" "net/http" "regexp" "strconv" @@ -506,17 +505,6 @@ func (tr *GCETestRunner) PollAndLogSerialPort(ctx context.Context, inst *Instanc } } -// PollForAndReturnSerialOutput is deprecated, use PollAndLogSerialPort. -func (tr *GCETestRunner) PollForAndReturnSerialOutput(ctx context.Context, inst *InstanceConfig, finishString, errorString string) (string, error) { - return tr.PollAndLogSerialPort(ctx, inst, finishString, errorString, log.Printf) -} - -// PollForSerialOutput is deprecated, use PollAndLogSerialPort. -func (tr *GCETestRunner) PollForSerialOutput(ctx context.Context, inst *InstanceConfig, finishString, errorString string) error { - _, err := tr.PollAndLogSerialPort(ctx, inst, finishString, errorString, log.Printf) - return err -} - // QueryProfiles retrieves profiles of a specific type, from a specific time // range, associated with a particular service and project. func (tr *TestRunner) QueryProfiles(projectID, service, startTime, endTime, profileType string) (ProfileResponse, error) {