Skip to content

Commit

Permalink
cleanup(tests,virtctl): Drop create instancetype and preference funct…
Browse files Browse the repository at this point in the history
…ests

Drop the functional tests of virtctl create instancetype and virtctl
create preference because all tests cases are already covered by the
unit tests of the commands. The functional tests do not provide any
additional value.

Signed-off-by: Felix Matouschek <[email protected]>
  • Loading branch information
0xFelix committed Sep 9, 2024
1 parent 31e6c23 commit b9376c4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 246 deletions.
7 changes: 0 additions & 7 deletions tests/virtctl/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"create_instancetype.go",
"create_preference.go",
"create_vm.go",
"credentials.go",
"scp.go",
Expand All @@ -15,19 +13,15 @@ go_library(
deps = [
"//pkg/libvmi:go_default_library",
"//pkg/libvmi/cloudinit:go_default_library",
"//pkg/virtctl/create/instancetype:go_default_library",
"//pkg/virtctl/create/preference:go_default_library",
"//pkg/virtctl/create/vm:go_default_library",
"//staging/src/kubevirt.io/api/core/v1:go_default_library",
"//staging/src/kubevirt.io/api/instancetype:go_default_library",
"//staging/src/kubevirt.io/api/instancetype/v1beta1:go_default_library",
"//staging/src/kubevirt.io/client-go/generated/kubevirt/clientset/versioned/scheme:go_default_library",
"//staging/src/kubevirt.io/client-go/kubecli:go_default_library",
"//tests/clientcmd:go_default_library",
"//tests/console:go_default_library",
"//tests/containerdisk:go_default_library",
"//tests/decorators:go_default_library",
"//tests/framework/cleanup:go_default_library",
"//tests/framework/kubevirt:go_default_library",
"//tests/framework/matcher:go_default_library",
"//tests/libsecret:go_default_library",
Expand All @@ -43,7 +37,6 @@ go_library(
"//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/util/rand:go_default_library",
"//vendor/k8s.io/utils/pointer:go_default_library",
"//vendor/kubevirt.io/containerized-data-importer-api/pkg/apis/core/v1beta1:go_default_library",
Expand Down
127 changes: 0 additions & 127 deletions tests/virtctl/create_instancetype.go

This file was deleted.

112 changes: 0 additions & 112 deletions tests/virtctl/create_preference.go

This file was deleted.

0 comments on commit b9376c4

Please sign in to comment.