File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,11 @@ package main
2
2
3
3
import (
4
4
"fmt"
5
+ "k8s.io/klog"
5
6
"os"
6
7
"os/exec"
7
8
"path/filepath"
8
9
"strconv"
9
-
10
- "k8s.io/klog"
11
10
)
12
11
13
12
func clusterDownGCE (k8sDir string ) error {
Original file line number Diff line number Diff line change @@ -214,13 +214,17 @@ func handle() error {
214
214
}
215
215
err = buildKubernetes (testDir , "WHAT=test/e2e/e2e.test" )
216
216
if err != nil {
217
- return fmt .Errorf ("failed to build Kubernetes: %v" , err )
217
+ return fmt .Errorf ("failed to build Kubernetes e2e : %v" , err )
218
218
}
219
- // kubetest relies on ginkgo already built in the test k8s directory
219
+ // kubetest relies on ginkgo and kubectl already built in the test k8s directory
220
220
err = buildKubernetes (testDir , "ginkgo" )
221
221
if err != nil {
222
222
return fmt .Errorf ("failed to build gingko: %v" , err )
223
223
}
224
+ err = buildKubernetes (testDir , "kubectl" )
225
+ if err != nil {
226
+ return fmt .Errorf ("failed to build kubectl: %v" , err )
227
+ }
224
228
} else {
225
229
testDir = k8sDir
226
230
}
You can’t perform that action at this time.
0 commit comments