Skip to content

Commit

Permalink
Merge pull request karmada-io#5293 from zhzhuang-zju/cleanupe2e
Browse files Browse the repository at this point in the history
cleanup: Remove redundant e2e testing steps
  • Loading branch information
karmada-bot authored Aug 3, 2024
2 parents 6b87604 + 978ea81 commit 57b45b2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/e2e/karmadactl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,6 @@ var _ = ginkgo.Describe("Karmadactl exec testing", func() {
})

ginkgo.It("Test exec command", func() {
waitForPodReady := func(namespace, podName string) {
framework.WaitPodPresentOnClusterFitWith(framework.ClusterNames()[0], namespace, podName, func(pod *corev1.Pod) bool {
return pod.Status.Phase == corev1.PodRunning
})
}
waitForPodReady(pod.Namespace, pod.Name)
framework.WaitPodPresentOnClustersFitWith(framework.ClusterNames(), pod.Namespace, pod.Name,
func(pod *corev1.Pod) bool {
return pod.Status.Phase == corev1.PodRunning
Expand All @@ -543,7 +537,7 @@ var _ = ginkgo.Describe("Karmadactl exec testing", func() {
})
})

var _ = ginkgo.Describe("Karmadactl top testing", ginkgo.Labels{NeedCreateCluster}, func() {
var _ = ginkgo.Describe("Karmadactl top testing", func() {
ginkgo.Context("Karmadactl top pod which does not exist", func() {
ginkgo.It("Karmadactl top pod which does not exist", func() {
podName := podNamePrefix + rand.String(RandomStrLength)
Expand Down

0 comments on commit 57b45b2

Please sign in to comment.