mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #99508 from wojtek-t/cleanup_describe_10
Move node_recreate test to cloud/gcp directory
This commit is contained in:
commit
f2d5ee2d2d
@ -11,6 +11,7 @@ go_library(
|
|||||||
"kubelet_security.go",
|
"kubelet_security.go",
|
||||||
"node_lease.go",
|
"node_lease.go",
|
||||||
"reboot.go",
|
"reboot.go",
|
||||||
|
"recreate_node.go",
|
||||||
"resize_nodes.go",
|
"resize_nodes.go",
|
||||||
"restart.go",
|
"restart.go",
|
||||||
],
|
],
|
||||||
@ -37,6 +38,7 @@ go_library(
|
|||||||
"//test/e2e/framework/network:go_default_library",
|
"//test/e2e/framework/network:go_default_library",
|
||||||
"//test/e2e/framework/node:go_default_library",
|
"//test/e2e/framework/node:go_default_library",
|
||||||
"//test/e2e/framework/pod:go_default_library",
|
"//test/e2e/framework/pod:go_default_library",
|
||||||
|
"//test/e2e/framework/providers/gce:go_default_library",
|
||||||
"//test/e2e/framework/skipper:go_default_library",
|
"//test/e2e/framework/skipper:go_default_library",
|
||||||
"//test/e2e/framework/ssh:go_default_library",
|
"//test/e2e/framework/ssh:go_default_library",
|
||||||
"//test/e2e/upgrades:go_default_library",
|
"//test/e2e/upgrades:go_default_library",
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package node
|
package gcp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@ -41,15 +41,7 @@ const (
|
|||||||
recreateNodeReadyAgainTimeout = 10 * time.Minute
|
recreateNodeReadyAgainTimeout = 10 * time.Minute
|
||||||
)
|
)
|
||||||
|
|
||||||
func nodeNames(nodes []v1.Node) []string {
|
var _ = SIGDescribe("Recreate [Feature:Recreate]", func() {
|
||||||
result := make([]string, 0, len(nodes))
|
|
||||||
for i := range nodes {
|
|
||||||
result = append(result, nodes[i].Name)
|
|
||||||
}
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
var _ = ginkgo.Describe("Recreate [Feature:Recreate]", func() {
|
|
||||||
f := framework.NewDefaultFramework("recreate")
|
f := framework.NewDefaultFramework("recreate")
|
||||||
var originalNodes []v1.Node
|
var originalNodes []v1.Node
|
||||||
var originalPodNames []string
|
var originalPodNames []string
|
@ -14,7 +14,6 @@ go_library(
|
|||||||
"pod_gc.go",
|
"pod_gc.go",
|
||||||
"pods.go",
|
"pods.go",
|
||||||
"pre_stop.go",
|
"pre_stop.go",
|
||||||
"recreate_node.go",
|
|
||||||
"runtimeclass.go",
|
"runtimeclass.go",
|
||||||
"security_context.go",
|
"security_context.go",
|
||||||
"ssh.go",
|
"ssh.go",
|
||||||
@ -47,7 +46,6 @@ go_library(
|
|||||||
"//test/e2e/framework/node:go_default_library",
|
"//test/e2e/framework/node:go_default_library",
|
||||||
"//test/e2e/framework/perf:go_default_library",
|
"//test/e2e/framework/perf:go_default_library",
|
||||||
"//test/e2e/framework/pod:go_default_library",
|
"//test/e2e/framework/pod:go_default_library",
|
||||||
"//test/e2e/framework/providers/gce:go_default_library",
|
|
||||||
"//test/e2e/framework/rc:go_default_library",
|
"//test/e2e/framework/rc:go_default_library",
|
||||||
"//test/e2e/framework/security:go_default_library",
|
"//test/e2e/framework/security:go_default_library",
|
||||||
"//test/e2e/framework/skipper:go_default_library",
|
"//test/e2e/framework/skipper:go_default_library",
|
||||||
|
Loading…
Reference in New Issue
Block a user