Skip to content

Commit

Permalink
kubetest/eks: use "os/exec" for ALB e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho committed Nov 29, 2018
1 parent c7a92f2 commit d382c3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kubetest/eks/eks_tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package eks

import (
"fmt"
"os/exec"
osexec "os/exec"
"reflect"
"time"

Expand Down Expand Up @@ -30,7 +30,7 @@ func (tr *tester) TestALBCorrectness() (err error) {
if _, err = tr.LoadConfig(); err != nil {
return err
}
_, err = tr.ctrl.Output(exec.Command(
_, err = tr.ctrl.Output(osexec.Command(
tr.cfg.AWSK8sTesterPath,
"eks",
"--path="+tr.cfg.ConfigPath,
Expand All @@ -43,7 +43,7 @@ func (tr *tester) TestALBQPS() (err error) {
if _, err = tr.LoadConfig(); err != nil {
return err
}
_, err = tr.ctrl.Output(exec.Command(
_, err = tr.ctrl.Output(osexec.Command(
tr.cfg.AWSK8sTesterPath,
"eks",
"--path="+tr.cfg.ConfigPath,
Expand All @@ -56,7 +56,7 @@ func (tr *tester) TestALBMetrics() (err error) {
if _, err = tr.LoadConfig(); err != nil {
return err
}
_, err = tr.ctrl.Output(exec.Command(
_, err = tr.ctrl.Output(osexec.Command(
tr.cfg.AWSK8sTesterPath,
"eks",
"--path="+tr.cfg.ConfigPath,
Expand All @@ -67,7 +67,7 @@ func (tr *tester) TestALBMetrics() (err error) {

// UploadToBucketForTests uploads a local file to aws-k8s-tester S3 bucket.
func (tr *tester) UploadToBucketForTests(localPath, s3Path string) (err error) {
_, err = tr.ctrl.Output(exec.Command(
_, err = tr.ctrl.Output(osexec.Command(
tr.cfg.AWSK8sTesterPath,
"eks",
"--path="+tr.cfg.ConfigPath,
Expand Down

0 comments on commit d382c3b

Please sign in to comment.