mirror of https://github.com/k3s-io/k3s
Revert "Cleanup ginkgo declarative naming in E2Es"
parent
5115f0e6bc
commit
b3550bcacf
|
@ -27,7 +27,7 @@ import (
|
|||
. "github.com/onsi/ginkgo"
|
||||
)
|
||||
|
||||
var _ = Describe("EmptyDir volumes", func() {
|
||||
var _ = Describe("emptyDir", func() {
|
||||
f := NewFramework("emptydir")
|
||||
|
||||
It("volume on tmpfs should have the correct mode", func() {
|
||||
|
|
|
@ -44,7 +44,7 @@ const (
|
|||
guestbookResponseTimeout = 3 * time.Minute
|
||||
)
|
||||
|
||||
var _ = Describe("Kubectl client", func() {
|
||||
var _ = Describe("kubectl", func() {
|
||||
defer GinkgoRecover()
|
||||
var c *client.Client
|
||||
var ns string
|
||||
|
@ -53,7 +53,7 @@ var _ = Describe("Kubectl client", func() {
|
|||
var err error
|
||||
c, err = loadClient()
|
||||
expectNoError(err)
|
||||
testingNs, err = createTestingNS("Kubectl client", c)
|
||||
testingNs, err = createTestingNS("kubectl", c)
|
||||
ns = testingNs.Name
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
})
|
||||
|
@ -65,7 +65,7 @@ var _ = Describe("Kubectl client", func() {
|
|||
}
|
||||
})
|
||||
|
||||
Describe("Update Demo", func() {
|
||||
Describe("update-demo", func() {
|
||||
var updateDemoRoot, nautilusPath, kittenPath string
|
||||
BeforeEach(func() {
|
||||
updateDemoRoot = filepath.Join(testContext.RepoRoot, "examples/update-demo")
|
||||
|
@ -106,7 +106,7 @@ var _ = Describe("Kubectl client", func() {
|
|||
})
|
||||
})
|
||||
|
||||
Describe("Guestbook application", func() {
|
||||
Describe("guestbook", func() {
|
||||
var guestbookPath string
|
||||
BeforeEach(func() {
|
||||
guestbookPath = filepath.Join(testContext.RepoRoot, "examples/guestbook")
|
||||
|
|
|
@ -44,7 +44,7 @@ const (
|
|||
// the ginkgo.skip list (see driver.go).
|
||||
// To run this suite you must explicitly ask for it by setting the
|
||||
// -t/--test flag or ginkgo.focus flag.
|
||||
var _ = Describe("Load capacity", func() {
|
||||
var _ = Describe("Load", func() {
|
||||
var c *client.Client
|
||||
var nodeCount int
|
||||
var ns string
|
||||
|
|
|
@ -41,7 +41,7 @@ var _ = Describe("Monitoring", func() {
|
|||
expectNoError(err)
|
||||
})
|
||||
|
||||
It("should verify monitoring pods and all cluster nodes are available on influxdb using heapster.", func() {
|
||||
It("verify monitoring pods and all cluster nodes are available on influxdb using heapster.", func() {
|
||||
if !providerIs("gce") {
|
||||
By(fmt.Sprintf("Skipping Monitoring test, which is only supported for provider gce (not %s)",
|
||||
testContext.Provider))
|
||||
|
|
|
@ -31,7 +31,7 @@ import (
|
|||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var _ = Describe("New networking", func() {
|
||||
var _ = Describe("NetworkingNew", func() {
|
||||
f := NewFramework("nettestnew")
|
||||
|
||||
var svcname = "nettest"
|
||||
|
@ -244,7 +244,7 @@ func LaunchNetTestPodPerNode(f *Framework, nodes *api.NodeList, name, version st
|
|||
return podNames
|
||||
}
|
||||
|
||||
var _ = Describe("Old networking", func() {
|
||||
var _ = Describe("Networking", func() {
|
||||
f := NewFramework("nettest")
|
||||
|
||||
var svcname = "nettest"
|
||||
|
|
|
@ -33,7 +33,7 @@ import (
|
|||
. "github.com/onsi/gomega"
|
||||
)
|
||||
|
||||
var _ = Describe("Pod Disks", func() {
|
||||
var _ = Describe("PD", func() {
|
||||
var (
|
||||
c *client.Client
|
||||
podClient client.PodInterface
|
||||
|
|
|
@ -28,7 +28,7 @@ import (
|
|||
var _ = Describe("Shell", func() {
|
||||
defer GinkgoRecover()
|
||||
|
||||
It(fmt.Sprintf("should pass tests for services.sh"), func() {
|
||||
It(fmt.Sprintf("tests that services.sh passes"), func() {
|
||||
// The services script only works on gce/gke
|
||||
if !providerIs("gce", "gke") {
|
||||
By(fmt.Sprintf("Skipping Shell test services.sh, which is only supported for provider gce and gke (not %s)",
|
||||
|
|
|
@ -192,7 +192,7 @@ func testVolumeClient(client *client.Client, config VolumeTestConfig, volume api
|
|||
Expect(body).To(ContainSubstring(expectedContent))
|
||||
}
|
||||
|
||||
var _ = Describe("Volumes", func() {
|
||||
var _ = Describe("Volume", func() {
|
||||
clean := true // If 'false', the test won't clear its namespace (and pods and services) upon completion. Useful for debugging.
|
||||
|
||||
// filled in BeforeEach
|
||||
|
|
Loading…
Reference in New Issue