Skip to content

Commit

Permalink
Move console tests to compute
Browse files Browse the repository at this point in the history
Signed-off-by: Luboslav Pivarc <[email protected]>
  • Loading branch information
xpivarc committed Jan 8, 2024
1 parent 5dcbcb4 commit 4106d79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ go_test(
"canary_upgrade_test.go",
"clone_test.go",
"config_test.go",
"console_test.go",
"container_disk_test.go",
"dryrun_test.go",
"hyperv_test.go",
Expand Down
7 changes: 6 additions & 1 deletion tests/compute/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,20 @@ go_library(

go_test(
name = "go_default_test",
srcs = ["credentials_test.go"],
srcs = [
"console_test.go",
"credentials_test.go",
],
embed = [":go_default_library"],
deps = [
"//staging/src/kubevirt.io/api/core/v1:go_default_library",
"//staging/src/kubevirt.io/client-go/kubecli:go_default_library",
"//tests:go_default_library",
"//tests/console:go_default_library",
"//tests/framework/kubevirt:go_default_library",
"//tests/framework/matcher:go_default_library",
"//tests/libvmi:go_default_library",
"//tests/testsuite:go_default_library",
"//tests/util:go_default_library",
"//vendor/github.com/google/goexpect:go_default_library",
"//vendor/github.com/onsi/ginkgo/v2:go_default_library",
Expand Down
5 changes: 2 additions & 3 deletions tests/console_test.go → tests/compute/console_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@
*
*/

package tests_test
package compute

import (
"context"
"io"
"time"

"kubevirt.io/kubevirt/tests/decorators"
"kubevirt.io/kubevirt/tests/framework/kubevirt"

expect "github.com/google/goexpect"
Expand Down Expand Up @@ -60,7 +59,7 @@ func withNodeAffinityTo(label string, value string) libvmi.Option {
}
}

var _ = Describe("[rfe_id:127][posneg:negative][crit:medium][vendor:[email protected]][level:component][sig-compute]Console", decorators.SigCompute, func() {
var _ = SIGDescribe("[rfe_id:127][posneg:negative][crit:medium][vendor:[email protected]][level:component]Console", func() {

var virtClient kubecli.KubevirtClient

Expand Down

0 comments on commit 4106d79

Please sign in to comment.