test(profiler): remove deprecated and unused now API (#3638)
Change-Id: I0211d72d1baab187756077bb66227bb83b4cd6f4
diff --git a/profiler/proftest/proftest.go b/profiler/proftest/proftest.go
index 3dd7dbd..e806a81 100644
--- a/profiler/proftest/proftest.go
+++ b/profiler/proftest/proftest.go
@@ -24,7 +24,6 @@
"errors"
"fmt"
"io/ioutil"
- "log"
"net/http"
"regexp"
"strconv"
@@ -506,17 +505,6 @@
}
}
-// 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) {