Skip to content

Commit

Permalink
test(profiler): remove deprecated and unused now API (#3638)
Browse files Browse the repository at this point in the history
Change-Id: I0211d72d1baab187756077bb66227bb83b4cd6f4
  • Loading branch information
aalexand committed Feb 2, 2021
1 parent 89ad55d commit 97b4fe1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions profiler/proftest/proftest.go
Expand Up @@ -24,7 +24,6 @@ import (
"errors"
"fmt"
"io/ioutil"
"log"
"net/http"
"regexp"
"strconv"
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 97b4fe1

Please sign in to comment.