Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
b3550bca
Commit
b3550bca
authored
Jun 02, 2015
by
Brian Grant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Cleanup ginkgo declarative naming in E2Es"
parent
5115f0e6
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
empty_dir.go
test/e2e/empty_dir.go
+1
-1
kubectl.go
test/e2e/kubectl.go
+4
-4
load.go
test/e2e/load.go
+1
-1
monitoring.go
test/e2e/monitoring.go
+1
-1
networking.go
test/e2e/networking.go
+2
-2
pd.go
test/e2e/pd.go
+1
-1
shell.go
test/e2e/shell.go
+1
-1
volumes.go
test/e2e/volumes.go
+1
-1
No files found.
test/e2e/empty_dir.go
View file @
b3550bca
...
...
@@ -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
()
{
...
...
test/e2e/kubectl.go
View file @
b3550bca
...
...
@@ -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 D
emo"
,
func
()
{
Describe
(
"
update-d
emo"
,
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"
)
...
...
test/e2e/load.go
View file @
b3550bca
...
...
@@ -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
...
...
test/e2e/monitoring.go
View file @
b3550bca
...
...
@@ -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
))
...
...
test/e2e/networking.go
View file @
b3550bca
...
...
@@ -31,7 +31,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
Describe
(
"Ne
w networking
"
,
func
()
{
var
_
=
Describe
(
"Ne
tworkingNew
"
,
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 n
etworking"
,
func
()
{
var
_
=
Describe
(
"
N
etworking"
,
func
()
{
f
:=
NewFramework
(
"nettest"
)
var
svcname
=
"nettest"
...
...
test/e2e/pd.go
View file @
b3550bca
...
...
@@ -33,7 +33,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
Describe
(
"P
od Disks
"
,
func
()
{
var
_
=
Describe
(
"P
D
"
,
func
()
{
var
(
c
*
client
.
Client
podClient
client
.
PodInterface
...
...
test/e2e/shell.go
View file @
b3550bca
...
...
@@ -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)"
,
...
...
test/e2e/volumes.go
View file @
b3550bca
...
...
@@ -192,7 +192,7 @@ func testVolumeClient(client *client.Client, config VolumeTestConfig, volume api
Expect
(
body
)
.
To
(
ContainSubstring
(
expectedContent
))
}
var
_
=
Describe
(
"Volume
s
"
,
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment