Run goimports
parent
588cb801ad
commit
64201731e0
|
@ -58,7 +58,6 @@ var distros = []string{
|
||||||
|
|
||||||
var timeout = Minutes(10)
|
var timeout = Minutes(10)
|
||||||
|
|
||||||
|
|
||||||
// TestPackageInstall tests installation of .deb packages with minikube itself and with kvm2 driver
|
// TestPackageInstall tests installation of .deb packages with minikube itself and with kvm2 driver
|
||||||
// on debian/ubuntu docker images enumerated in "distros"
|
// on debian/ubuntu docker images enumerated in "distros"
|
||||||
func TestDebPackageInstall(t *testing.T) {
|
func TestDebPackageInstall(t *testing.T) {
|
||||||
|
@ -106,7 +105,6 @@ func TestDebPackageInstall(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func dpkgInstall(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) {
|
func dpkgInstall(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) {
|
||||||
return Run(t, exec.CommandContext(ctx,
|
return Run(t, exec.CommandContext(ctx,
|
||||||
"docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)),
|
"docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)),
|
||||||
|
@ -114,7 +112,6 @@ func dpkgInstall(ctx context.Context, t *testing.T, image, deb string) (*RunResu
|
||||||
"sh", "-c", fmt.Sprintf("apt-get update; dpkg -i /var/tmp/%s", filepath.Base(deb))))
|
"sh", "-c", fmt.Sprintf("apt-get update; dpkg -i /var/tmp/%s", filepath.Base(deb))))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func dpkgInstallDriver(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) {
|
func dpkgInstallDriver(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) {
|
||||||
return Run(t, exec.CommandContext(ctx,
|
return Run(t, exec.CommandContext(ctx,
|
||||||
"docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)),
|
"docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)),
|
||||||
|
|
Loading…
Reference in New Issue